Skip to content

Call Hierarchy and Find References missing pseudo-property references to accessor method #988

@eric-milles

Description

@eric-milles

Consider the following:

class Foo {
  // no "bar" field or property
  def getBar() {
    //...
  }
  void doBaz() {
    bar
    "$bar"
  }
}
void meth(List<Foo> list) {
  for (foo in list) {
    foo.bar
  }
  list.each { it.bar }
}

Call Hierarchy (Ctrl+Alt+H) and Find References (Ctrl+Shift+G) are missing all occurrences of "bar" above. Code Hover (F2), Code Select (F3) and Syntax Highlighting work as expected.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions