Skip to content

[bean completion proposals] beans of type Object results in no constructor param being generated #1468

Closed
@martinlippert

Description

@martinlippert

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions