Class ClassUtils
java.lang.Object
org.apache.olingo.ext.proxy.utils.ClassUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type[]
extractGenericType
(Class<?> paramType, Class<?>... references) static Class<?>
extractTypeArg
(Class<?> paramType, Class<?>... references) static Method
findGetterByAnnotatedName
(Class<?> clazz, Class<? extends Annotation> ann, String name) static <ANN extends Annotation>
ANNgetAnnotation
(Class<ANN> reference, AccessibleObject obj) static Class<?>
getCompoundKeyRef
(Class<?> entityTypeRef) static String
getEntityTypeName
(Class<?> ref) static Class<?>
static String
getNamespace
(Class<?> ref) static Type[]
getTypeArguments
(Type type) static <T> Class<T>
getTypeClass
(Type type) static Void
-
Method Details
-
extractGenericType
-
extractTypeArg
-
findGetterByAnnotatedName
public static Method findGetterByAnnotatedName(Class<?> clazz, Class<? extends Annotation> ann, String name) -
getAnnotation
public static <ANN extends Annotation> ANN getAnnotation(Class<ANN> reference, AccessibleObject obj) -
getCompoundKeyRef
-
getKeyRef
-
getEntityTypeName
-
getNamespace
-
returnVoid
public static Void returnVoid() throws NoSuchMethodException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException -
getTypeArguments
-
getTypeClass
-