You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packagetest22importgroovy.transform.CompileStatic@CompileStaticclassTest22 {
publicTest22() {
def b =newMyBean(foo: 'c')
b.foo ='foo'def c = b.foo
}
}
Invoke Call Hierarchy on MyBean.setFoo(String): I would expect to see references from def b = new MyBean(foo: 'c') and b.foo = 'foo'. However, I just see the first (thanks to #489), not the second.
Invoke Call Hierarchy on MyBean.getFoo(): I would expect to see references from def c = b.foo, but I don't see it.
The text was updated successfully, but these errors were encountered:
org.eclipse.jdt.groovy.search.MethodReferenceSearchRequestor.acceptASTNode(ASTNode, TypeLookupResult, IJavaElement) finds the desired reference, but returns it as an "inaccurate" match and so the Call Hierarchy does not show it.
Something like a follow-up to #489.
Consider the following Java class:
And the following Groovy class:
Invoke Call Hierarchy on
MyBean.setFoo(String)
: I would expect to see references fromdef b = new MyBean(foo: 'c')
andb.foo = 'foo'
. However, I just see the first (thanks to #489), not the second.Invoke Call Hierarchy on
MyBean.getFoo()
: I would expect to see references fromdef c = b.foo
, but I don't see it.The text was updated successfully, but these errors were encountered: