Using eclipse, when I enter the following:
public enum Foo {
A(Integer.);
private final Integer integer;
private Foo(Integer integer) {
this.integer = integer;
}
}
And position my cursor after Integer.
and ask for content assist (^space) I get nothing. In fact content assist does not seem to work at all inside enum constant argument lists.
Is this a known problem or expected behaviour? If the latter, why?
EDIT: I'm wondering if this is a bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=395604
If so I'm amazed that such an obvious thing hasn't been fixed in the past 5 years with the number of Java developers using Eclipse.