Package com.dslplatform.json.processor
Enum ObjectType
- java.lang.Object
-
- java.lang.Enum<ObjectType>
-
- com.dslplatform.json.processor.ObjectType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ObjectType>
public enum ObjectType extends java.lang.Enum<ObjectType>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateObjectType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ObjectType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASS
public static final ObjectType CLASS
-
ENUM
public static final ObjectType ENUM
-
MIXIN
public static final ObjectType MIXIN
-
CONVERTER
public static final ObjectType CONVERTER
-
-
Method Detail
-
values
public static ObjectType[] 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 (ObjectType c : ObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectType 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
-
-