-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b112
-
generic
-
generic
-
Verified
The JSR 269 API model all sorts of classes, including local and anonymous ones. While those sorts of classes aren't directly retreibable via the standard JSR 269 API, they should be available from the javac-specific tree API. However, when a program to javac trees of local and anonymous classes is run (see tests for bug 6449781), a null is returned.
A null is returned when running an annotation processor to find this information because annotation processing generally takes place at the enter/memberEnter stage and symbols for local and anonymous classes are only created during Attr.
A null is returned when running an annotation processor to find this information because annotation processing generally takes place at the enter/memberEnter stage and symbols for local and anonymous classes are only created during Attr.
- relates to
-
JDK-6449781 TypeElement.getQualifiedName for anonymous classes returns null instead of an empty name
-
- Closed
-
-
JDK-6967842 Element not returned from tree API for ARM resource variables
-
- Closed
-