| Enum Constant and Description |
|---|
AVAILABLE |
UNAVAILABLE |
| Modifier and Type | Field and Description |
|---|---|
static FeatureType<Jsr305> |
JSR305
Constant to pass to
SourceBuilder.feature(FeatureType) to get the current status of
Jsr305. |
| Modifier and Type | Method and Description |
|---|---|
static Excerpt |
nullable()
Excerpt that adds a JSR-303 Nullable annotation, if available.
|
java.lang.String |
toString() |
static Jsr305 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Jsr305[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Jsr305 AVAILABLE
public static final Jsr305 UNAVAILABLE
public static final FeatureType<Jsr305> JSR305
SourceBuilder.feature(FeatureType) to get the current status of
Jsr305.public static Jsr305[] values()
for (Jsr305 c : Jsr305.values()) System.out.println(c);
public static Jsr305 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 static Excerpt nullable()
public java.lang.String toString()
toString in class java.lang.Enum<Jsr305>