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
Go to test42.GBean.GBean(String, String). and invoke Call Hierarchy: the call from test42.Test43.test() is not found.
The text was updated successfully, but these errors were encountered:
mauromol
changed the title
Default parameters: conctructor call not found by Call Hierarchy
Default parameters: constructor call not found by Call Hierarchy
Nov 30, 2018
I had started to look into this one when adding support for find references of overloaded constructors. If GBean is in the same file, I think the search and Call Hierarchy works as expected. When they are in separate sources, the conversion from Groovy to Java model is missing the links between the original constructor (the one with 2 parameters) and the generated constructor (the synthetic one with 1 parameter). The conversion is done in JDTClassNode and I am looking for some clue in the MethodBinding that a given method or constructor is generated as a result of a defaulted parameter.
Somewhat follow up to #768
Consider this:
And this:
Go to
test42.GBean.GBean(String, String)
. and invoke Call Hierarchy: the call fromtest42.Test43.test()
is not found.The text was updated successfully, but these errors were encountered: