RFR: JDK-8057804: AnnotatedType interfaces provide no way to get annotations on owner type
joel.borggren.franck at gmail.com
Tue Nov 17 19:15:25 UTC 2015
When reflecting over annotated types, there is currently no way to get
the potentially annotated owner of a type. For example, given you have
an instance of '@A Outer . @B Inner' you can't traverse it to get '@A
This API addition fixes this. Because both parameterized and
non-generic types can have an owner, this addition goes into the base
AnnotatedType interface together with a default implementation. CCC
has been filed.
The parsing code and annotated type factory had to be fixed to deal
with navigating inside nested types.
(OCA is signed and processed).
More information about the core-libs-dev