-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 13
-
Component/s: core-libs
The printing annotation processor, used for both the javac -Xprint option and the implementation of javax.lang.model.util.Elements.print, has a number of for-loops with logic to include or exclude separators/terminators and surrounding text based on position. Such logic can be more concisely expressed using stream and collectors.
- relates to
-
JDK-6304578 (reflect) toGenericString fails to print bounds of type variables on generic methods
-
- Closed
-
-
JDK-8212081 AnnotatedType.toString implementation don't print annotations on embedded types
-
- Closed
-