Skip to content

Call Hierarchy and Find References support for @Newify(Type) constructor call expressions #797

@eric-milles

Description

@eric-milles

Follow up from #796. Consider the following:

class Foo {
  Foo() {}
  Foo(one, two = null) {}
}
class Bar {
  @Newify(auto=false, value=Foo)
  void meth() {
    Foo()
    Foo(1)
    Foo(1, 2)
  }
}

Call Hierarchy (Ctrl+Alt+H) or Find References (Ctrl+Shift+G) on "Foo.Foo()" should include the "Foo()" reference in Bar. Similarly, "Foo.Foo(one, two...)" should include the 2 references "Foo(1)" and "Foo(1,2)" in Bar.

Also, Find Declarations (Ctrl+G) should work from "Foo()" back to "Foo.Foo()".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions