Closed
Description
I am using the Rest Service guide example here in Eclipse.
@GetMapping("/greeting")
public Greeting greeting(@RequestParam(value = "name", defaultValue = "World") String name) {
this.<*>
return new Greeting(counter.incrementAndGet(), String.format(template, name));
}
does not show up the bean completion proposals. It shows up perfectly fine in other places of the same class, e.g.
@GetMapping("/greeting")
public Greeting greeting(@RequestParam(value = "name", defaultValue = "World") String name) {
return new Greeting(counter.incrementAndGet(), String.format(template, name));
this.<*>
}
or if I create a new method empty and type in this.<*>
on there. Just the case above seems to somehow break the completion proposals.