public class DomReflectionUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
canHaveIsPropertyGetterPrefix(java.lang.reflect.Type type) |
static java.lang.reflect.Type |
extractCollectionElementType(java.lang.reflect.Type returnType) |
static <T extends java.lang.annotation.Annotation> |
findAnnotationDFS(java.lang.Class<?> rawType,
java.lang.Class<T> annotationType) |
static JavaMethod |
findGetter(java.lang.Class<?> aClass,
java.lang.String propertyName) |
static JavaMethod[] |
getGetterMethods(java.lang.String[] path,
java.lang.Class<? extends DomElement> startClass) |
static java.lang.Object |
invokeMethod(java.lang.reflect.Method method,
java.lang.Object object,
java.lang.Object... args) |
public static <T extends java.lang.annotation.Annotation> T findAnnotationDFS(java.lang.Class<?> rawType, java.lang.Class<T> annotationType)
public static boolean canHaveIsPropertyGetterPrefix(java.lang.reflect.Type type)
public static JavaMethod[] getGetterMethods(java.lang.String[] path, java.lang.Class<? extends DomElement> startClass)
public static JavaMethod findGetter(java.lang.Class<?> aClass, java.lang.String propertyName)
public static java.lang.Object invokeMethod(java.lang.reflect.Method method, java.lang.Object object, java.lang.Object... args)
public static java.lang.reflect.Type extractCollectionElementType(java.lang.reflect.Type returnType)