public static final class AccessorInfo.AccessorName
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
methodName
Name of the accessor method
|
java.lang.String |
name
Accessor name part
|
java.lang.String |
prefix
Accessor prefix
|
| Modifier and Type | Method and Description |
|---|---|
static AccessorInfo.AccessorName |
of(java.lang.String methodName)
Get an accessor name from the supplied string.
|
static AccessorInfo.AccessorName |
of(java.lang.String methodName,
boolean toMemberCase)
Get an accessor name from the supplied string.
|
java.lang.String |
toString() |
public final java.lang.String methodName
public final java.lang.String prefix
public final java.lang.String name
public java.lang.String toString()
toString in class java.lang.Objectpublic static AccessorInfo.AccessorName of(java.lang.String methodName)
methodName - Name of the accessor methodpublic static AccessorInfo.AccessorName of(java.lang.String methodName, boolean toMemberCase)
methodName - Name of the accessor methodtoMemberCase - True if the first character of the name should be
conditionally converted to lowercase. If the name is all
uppercase (eg. if the NAME_IS_A_CONSTANT) the first character
will not be lowercased, regardless of the state of this argument