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
{{ message }}
Repository navigation
[bean completion proposals] beans of type Object results in no constructor param being generated #1468
It looks like if the bean that I select from the completion is of type java.lang.Object, there is no constructor parameter being generated for it and the inserted field gets the name object instead of the name of the bean.
This is the result after applying the completion:
public class TestBean2 {
private final Object object;
public void foo() {
myBean<*>
}
}
after applying the bean completion for myBean, where myBean is of type java.lang.Object.
Activity
BoykoAlex commentedon Feb 26, 2025
Fixed with 6a9c390. The problem was that field name for a bean was coming from the type simple name rather then bean name in the index.