public static enum AccessorInfo.AccessorType extends java.lang.Enum<AccessorInfo.AccessorType>
| Enum Constant and Description |
|---|
FIELD_GETTER
A field getter, accessor must accept no args and return field type
|
FIELD_SETTER
A field setter, accessor must accept single arg of the field type and
return void
|
METHOD_PROXY
An invoker (proxy) method
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpectedPrefixes()
Returns all the expected prefixes for this accessor type as a string
for debugging/error message purposes
|
boolean |
isExpectedPrefix(java.lang.String prefix)
Returns true if the supplied prefix string is an allowed prefix for
this accessor type
|
static AccessorInfo.AccessorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessorInfo.AccessorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessorInfo.AccessorType FIELD_GETTER
public static final AccessorInfo.AccessorType FIELD_SETTER
public static final AccessorInfo.AccessorType METHOD_PROXY
public static AccessorInfo.AccessorType[] values()
for (AccessorInfo.AccessorType c : AccessorInfo.AccessorType.values()) System.out.println(c);
public static AccessorInfo.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 nullpublic boolean isExpectedPrefix(java.lang.String prefix)
prefix - prefix to checkpublic java.lang.String getExpectedPrefixes()