Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.5.2.Release
-
Fix Version/s: None
-
Component/s: Parser
-
Labels:None
-
Number of attachments :
Description
Currently, when there is an annotation attribute name that does not have a value (ie- no '='), then the parser is broken, outline view does not work, and content assist does not provide anything interesting.
Eg (/**/ is the caret position)-
public @interface Foo { int val1(); int val2(); } @Foo(val1 = 8, va/**/) class Clazz { }
I am working on GRECLIPSE-988 and content assist is broken when invoked at the caret position.
As for the AST created, I would like to see an annotation node with a single member-value pair (for val1), and the remainder can just be ignored in the AST.
Issue Links
- is depended upon by
-
GRECLIPSE-988
Code completion for annotations
-