-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
None
-
b26
The first cut of support would be:
Updates to TypeElement.getSimpleName() for an unnamed class
Add new default method for TypeElement.isUnnamed. The semantics of this should be something like return getNestingKind() == TOP_LEVEL && getSimpleName().isEmpty().
There should be some updates to the printing processor to output a source-correct unnamed class and tests that a language model is properly constructed for an unnamed class (name is empty, mandated constructor present, etc.)
Updates to TypeElement.getSimpleName() for an unnamed class
Add new default method for TypeElement.isUnnamed. The semantics of this should be something like return getNestingKind() == TOP_LEVEL && getSimpleName().isEmpty().
There should be some updates to the printing processor to output a source-correct unnamed class and tests that a language model is properly constructed for an unnamed class (name is empty, mandated constructor present, etc.)
- csr for
-
JDK-8308831 javax.lang.model updates for JEP 445 (preview)
-
- Closed
-
- relates to
-
JDK-8309503 Improve javax.lang.model tests for JEP 445
-
- Resolved
-
-
JDK-8319133 Implement JEP 463: Changes to annotation processing related to dropping unnamed classes
-
- Resolved
-
(1 links to)