-
Enhancement
-
Resolution: Fixed
-
P4
-
8, 9, 13
-
None
-
b23
The behavior of the existing ElementScannerN classes is to *not* visit type parameters as part of the actions of their visitType and visitExecutable methods.
This is a consequence of type parameters not being considered part of the enclosed elements of a type or executable.
This behavior of skipping type parameters may be unexpected by users and has led to code like an internal RoundElement method "ElementScanningIncludingTypeParameters" (JDK-8032230).
The behavior should at least be noted for the current visitors and should likely be changed when the ElementScanner(N+k) is eventually added.
This is a consequence of type parameters not being considered part of the enclosed elements of a type or executable.
This behavior of skipping type parameters may be unexpected by users and has led to code like an internal RoundElement method "ElementScanningIncludingTypeParameters" (
The behavior should at least be noted for the current visitors and should likely be changed when the ElementScanner(N+k) is eventually added.
- relates to
-
JDK-8224630 ElementScannerN, N > 9 should scan type parameters
- Resolved
-
JDK-8032230 Enhance javax.a.p.RoundEnvironment after repeating annotations
- Closed