Skip to content

Wrong result in "Search for references" and "Call Hierarchy" with constructor overloading #1090

@mauromol

Description

@mauromol

Consider the attached Eclipse/Gradle project:
Test61.zip

Go to:
test61.MyBean.MyBean(SessionFactory, DetachedCriteria, List<Order>, BiConsumer<Session, ? super T>)

Try to hit Ctrl+Alt+H or Ctrl+Shift+G: a reference is found in Test61.foo(), but the constructor actually called from there is rather test61.MyBean.MyBean(SessionFactory, DetachedCriteria, Order...).

I was not able to reproduce this problem with a smaller test case using simple types like String, Integer, etc.. Maybe the difference is that the involved types are binary references to an external JAR (Hibernate, in this case).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions