Enum AnnotationElement.AttributeType
- java.lang.Object
-
- java.lang.Enum<AnnotationElement.AttributeType>
-
- org.infinispan.protostream.descriptors.AnnotationElement.AttributeType
-
- All Implemented Interfaces:
Serializable
,Comparable<AnnotationElement.AttributeType>
- Enclosing class:
- AnnotationElement
public static enum AnnotationElement.AttributeType extends Enum<AnnotationElement.AttributeType>
What type is the attribute?
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATION
BOOLEAN
CHARACTER
DOUBLE
FLOAT
IDENTIFIER
INT
LONG
STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnnotationElement.AttributeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnnotationElement.AttributeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDENTIFIER
public static final AnnotationElement.AttributeType IDENTIFIER
-
STRING
public static final AnnotationElement.AttributeType STRING
-
CHARACTER
public static final AnnotationElement.AttributeType CHARACTER
-
BOOLEAN
public static final AnnotationElement.AttributeType BOOLEAN
-
INT
public static final AnnotationElement.AttributeType INT
-
LONG
public static final AnnotationElement.AttributeType LONG
-
FLOAT
public static final AnnotationElement.AttributeType FLOAT
-
DOUBLE
public static final AnnotationElement.AttributeType DOUBLE
-
ANNOTATION
public static final AnnotationElement.AttributeType ANNOTATION
-
-
Method Detail
-
values
public static AnnotationElement.AttributeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnnotationElement.AttributeType c : AnnotationElement.AttributeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnotationElement.AttributeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-