public static enum PropDefaultModel.AccessorType extends java.lang.Enum<PropDefaultModel.AccessorType>
For Java, you always access the PropDefault via the static final field. For Kotlin, depending on how the PropDefault annotation is applied, you either access it via the generated method or via the field.
Enum Constant and Description |
---|
FIELD |
GETTER_METHOD |
Modifier and Type | Method and Description |
---|---|
static PropDefaultModel.AccessorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropDefaultModel.AccessorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropDefaultModel.AccessorType GETTER_METHOD
public static final PropDefaultModel.AccessorType FIELD
public static PropDefaultModel.AccessorType[] values()
for (PropDefaultModel.AccessorType c : PropDefaultModel.AccessorType.values()) System.out.println(c);
public static PropDefaultModel.AccessorType 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 null