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] assignment in constructor not generated #1497
@RestController
public class MyController {
MyController(TestBean1 testBean1) {
}
@GetMapping("/greeting")
public String sayHello() {
this.testBean1<*>
return "Hello Greeting";
}
}
When I invoke the bean completion for a bean with name testBean1 of type TestBean1, the field is generated, but not the assignment inside of the constructor. The result looks like:
@RestController
public class MyController {
private final TestBean1 testBean1;
MyController(final TestBean1 testBean1) {
}
@GetMapping("/greeting")
public String sayHello() {
this.testBean1<*>
return "Hello Greeting";
}
}
changed the title [-][bean completion proposals] assignment in constructor nor generated[/-][+][bean completion proposals] assignment in constructor not generated[/+]on Mar 4, 2025
Activity
BoykoAlex commentedon Mar 3, 2025
Fixed via edd78c0
[-][bean completion proposals] assignment in constructor nor generated[/-][+][bean completion proposals] assignment in constructor not generated[/+]