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).
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).