I edit java code and when I press Ctrl-Space in the quotes I get a lot of useless in this context tips (in annotations).
examples:
1) @Table(name="ORDER_TABLE")
2) @OneToMany(mappedBy="item")
3) String s = "";
in examples with annotations (1 & 2) I get tips which are useless.
example 3) & screenshot-1.jpg - this is expected behaviour.
@NamedQuery - this annotation is exeption case - should work the same way as case 3.