Enum Class JavaFeature

java.lang.Object
java.lang.Enum<JavaFeature>
org.aspectj.org.eclipse.jdt.internal.compiler.impl.JavaFeature
All Implemented Interfaces:
Serializable, Comparable<JavaFeature>, java.lang.constant.Constable

public enum JavaFeature extends Enum<JavaFeature>
An internal enumeration of all Java language features that were introduced as standard feature or preview feature from Java 15. The idea is to have one location where the applicability of a feature, such as version supported in, whether or not a preview, what are the restricted keywords introduced by a feature etc. This is expected to be updated every time there's a new Java version and the change is expected to be one of the following kinds:
  • The preview feature continues to be a preview in the next version
  • The preview feature is upgraded to a standard feature
  • The preview feature is removed
Author:
jay