public class Getter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GET_PREFIX |
static java.lang.String |
IS_PREFIX |
static java.lang.String |
SHOULD_PREFIX |
| Constructor and Description |
|---|
Getter() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
find(TypeDef clazz,
Property property) |
static Method |
forProperty(Property property) |
static boolean |
is(Method method) |
static java.lang.String |
name(Property property)
Return the getter name for the specified
Property. |
static java.lang.String |
prefix(Property property) |
static java.lang.String |
propertyName(Method method)
Return the property name for the specified getter
method. |
public static final java.lang.String GET_PREFIX
public static final java.lang.String IS_PREFIX
public static final java.lang.String SHOULD_PREFIX
public static boolean is(Method method)
public static java.lang.String name(Property property)
Property.property - The property.public static java.lang.String propertyName(Method method)
method.method - The method.public static java.lang.String prefix(Property property)
Copyright © 2018. All Rights Reserved.