-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 12, 13
-
None
Annotation processors need the ability to query the environment to determine the language level being used so that valid code can be generated. The ProcessingEnvironment.getSourceVersion() method provides the basis of this functionality.
With preview features (JDK-8195734), processors need an analogous capability to determine if the preview features are enabled and available for use.
With preview features (JDK-8195734), processors need an analogous capability to determine if the preview features are enabled and available for use.
- csr for
-
JDK-8222424 Provide mechanism to query preview feature status for annotation processors
- Closed
- relates to
-
JDK-8195734 JEP 12: Preview Features
- Completed