Package org.immutables.annotate
Enum InjectAnnotation.Where
- java.lang.Object
-
- java.lang.Enum<InjectAnnotation.Where>
-
- org.immutables.annotate.InjectAnnotation.Where
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InjectAnnotation.Where>
- Enclosing class:
- InjectAnnotation
public static enum InjectAnnotation.Where extends java.lang.Enum<InjectAnnotation.Where>
Logical elements of generated code to which annotations can be applied to.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESSORBUILDER_TYPECONSTRUCTORConstructor if public or a factory method constructor otherwise.CONSTRUCTOR_PARAMETERELEMENT_INITIALIZERFIELDIMMUTABLE_TYPEINITIALIZERMODIFIABLE_TYPESYNTHETIC_FIELDS
-
Constructor Summary
Constructors Modifier Constructor Description privateWhere()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InjectAnnotation.WherevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InjectAnnotation.Where[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIELD
public static final InjectAnnotation.Where FIELD
-
ACCESSOR
public static final InjectAnnotation.Where ACCESSOR
-
SYNTHETIC_FIELDS
public static final InjectAnnotation.Where SYNTHETIC_FIELDS
-
CONSTRUCTOR_PARAMETER
public static final InjectAnnotation.Where CONSTRUCTOR_PARAMETER
-
INITIALIZER
public static final InjectAnnotation.Where INITIALIZER
-
ELEMENT_INITIALIZER
public static final InjectAnnotation.Where ELEMENT_INITIALIZER
-
BUILDER_TYPE
public static final InjectAnnotation.Where BUILDER_TYPE
-
IMMUTABLE_TYPE
public static final InjectAnnotation.Where IMMUTABLE_TYPE
-
MODIFIABLE_TYPE
public static final InjectAnnotation.Where MODIFIABLE_TYPE
-
CONSTRUCTOR
public static final InjectAnnotation.Where CONSTRUCTOR
Constructor if public or a factory method constructor otherwise.
-
-
Method Detail
-
values
public static InjectAnnotation.Where[] 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 (InjectAnnotation.Where c : InjectAnnotation.Where.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InjectAnnotation.Where 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
-
-