public enum JavaFeature extends java.lang.Enum<JavaFeature>
Enum Constant and Description |
---|
ADVANCED_COLLECTIONS_API
java.util.Arrays.setAll, java.util.Collection#removeIf, java.util.List.sort(Comparator),
java.util.Map#putIfAbsent, java.util.Map#forEach
|
MULTI_CATCH |
STREAMS |
THREAD_LOCAL_WITH_INITIAL
ThreadLocal.withInitial
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFeatureSupported(PsiFile context) |
static JavaFeature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaFeature MULTI_CATCH
public static final JavaFeature STREAMS
public static final JavaFeature ADVANCED_COLLECTIONS_API
public static final JavaFeature THREAD_LOCAL_WITH_INITIAL
public static JavaFeature[] values()
for (JavaFeature c : JavaFeature.values()) System.out.println(c);
public static JavaFeature valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isFeatureSupported(PsiFile context)