public final class SignatureUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTRUCTOR |
static String |
GET |
static String |
IS |
static String |
SET |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
computeFieldNames(String fieldPattern) |
static String |
fieldSignature(List<String> fieldNames,
Class<?> type) |
static String |
fieldSignature(String fieldName,
Class<?> type) |
static String |
findTargetTypeName(Annotation[] annotations,
Class<?> defaultType) |
static boolean |
isBooleanGetter(Method method) |
static boolean |
isConstructor(Method method) |
static boolean |
isGetter(Method method) |
static boolean |
isSetter(Method method) |
static String |
methodSignature(String methodName,
Class<?> resultType,
Class<?>[] parameterTypes,
Class<?>[] exceptionTypes) |
static Annotation[] |
propertyAnnotationsOf(Method method) |
static String |
propertyOf(Method method) |
static Class<?> |
propertyTypeOf(Method method) |
public static final String CONSTRUCTOR
public static final String IS
public static final String GET
public static final String SET
public static boolean isConstructor(Method method)
public static boolean isBooleanGetter(Method method)
public static boolean isGetter(Method method)
public static boolean isSetter(Method method)
public static Annotation[] propertyAnnotationsOf(Method method)
public static String methodSignature(String methodName, Class<?> resultType, Class<?>[] parameterTypes, Class<?>[] exceptionTypes)
public static String findTargetTypeName(Annotation[] annotations, Class<?> defaultType)
Copyright © 2017. All rights reserved.