static enum Key.NullAnnotationStrategy extends java.lang.Enum<Key.NullAnnotationStrategy> implements Key.AnnotationStrategy
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
java.lang.annotation.Annotation |
getAnnotation() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType() |
boolean |
hasAttributes() |
java.lang.String |
toString() |
static Key.NullAnnotationStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Key.NullAnnotationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Key.AnnotationStrategy |
withoutAttributes() |
public static final Key.NullAnnotationStrategy INSTANCE
public static Key.NullAnnotationStrategy[] values()
for (Key.NullAnnotationStrategy c : Key.NullAnnotationStrategy.values()) System.out.println(c);
public static Key.NullAnnotationStrategy 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 hasAttributes()
hasAttributes
in interface Key.AnnotationStrategy
public Key.AnnotationStrategy withoutAttributes()
withoutAttributes
in interface Key.AnnotationStrategy
public java.lang.annotation.Annotation getAnnotation()
getAnnotation
in interface Key.AnnotationStrategy
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
getAnnotationType
in interface Key.AnnotationStrategy
public java.lang.String toString()
toString
in class java.lang.Enum<Key.NullAnnotationStrategy>