Package org.immutables.mirror.processor
Enum Mirrors.AttributeTypeKind
- java.lang.Object
-
- java.lang.Enum<Mirrors.AttributeTypeKind>
-
- org.immutables.mirror.processor.Mirrors.AttributeTypeKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Mirrors.AttributeTypeKind>
- Enclosing class:
- Mirrors
static enum Mirrors.AttributeTypeKind extends java.lang.Enum<Mirrors.AttributeTypeKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATIONENUMPRIMITIVESTRINGTYPE
-
Constructor Summary
Constructors Modifier Constructor Description privateAttributeTypeKind()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Mirrors.AttributeTypeKindfrom(javax.lang.model.type.TypeMirror type)(package private) booleanisAnnotation()(package private) booleanisEnum()(package private) booleanisPrimitive()(package private) booleanisString()(package private) booleanisType()static Mirrors.AttributeTypeKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Mirrors.AttributeTypeKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIMITIVE
public static final Mirrors.AttributeTypeKind PRIMITIVE
-
STRING
public static final Mirrors.AttributeTypeKind STRING
-
ENUM
public static final Mirrors.AttributeTypeKind ENUM
-
ANNOTATION
public static final Mirrors.AttributeTypeKind ANNOTATION
-
TYPE
public static final Mirrors.AttributeTypeKind TYPE
-
-
Method Detail
-
values
public static Mirrors.AttributeTypeKind[] 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 (Mirrors.AttributeTypeKind c : Mirrors.AttributeTypeKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Mirrors.AttributeTypeKind valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isPrimitive
boolean isPrimitive()
-
isString
boolean isString()
-
isEnum
boolean isEnum()
-
isAnnotation
boolean isAnnotation()
-
isType
boolean isType()
-
from
static Mirrors.AttributeTypeKind from(javax.lang.model.type.TypeMirror type)
-
-