public enum JavaxPackage extends java.lang.Enum<JavaxPackage> implements Feature<JavaxPackage>
SourceLevel by default in tests.| Enum Constant and Description |
|---|
AVAILABLE |
UNAVAILABLE |
| Modifier and Type | Field and Description |
|---|---|
static FeatureType<JavaxPackage> |
JAVAX
Constant to pass to
SourceBuilder.feature(FeatureType) to get the current status of
JavaxPackage. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<QualifiedName> |
generated()
Parameterized type for
java.util.function.Consumer<T>, if available. |
java.lang.String |
toString() |
static JavaxPackage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaxPackage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaxPackage AVAILABLE
public static final JavaxPackage UNAVAILABLE
public static final FeatureType<JavaxPackage> JAVAX
SourceBuilder.feature(FeatureType) to get the current status of
JavaxPackage.public static JavaxPackage[] values()
for (JavaxPackage c : JavaxPackage.values()) System.out.println(c);
public static JavaxPackage 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 com.google.common.base.Optional<QualifiedName> generated()
java.util.function.Consumer<T>, if available.public java.lang.String toString()
toString in class java.lang.Enum<JavaxPackage>