groovy / groovy/groovy-eclipse

Fields, properties and private or static methods in trait not shown in Outline views

Open
#816 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
681
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Consider the following:

trait T {
  String property
  private String field
  private def method() {}
  private static def staticMethod() {}
}

None of T's members are displayed in the Outline views.

Also, visible static methods are not shown and visible non-static methods are seen with an abstract indicator.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the trait example in the Eclipse Outline views and inspect how trait members are discovered and displayed. Verify the handling of fields, properties, private methods, static methods, and non-static methods. Done means all applicable members appear with correct visibility and static or abstract indicators.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.