Class TypeUtils
java.lang.Object
app.dodb.smd.api.utils.TypeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Annotation>
Optional<T> getAnnotationOnMethodOrClass(Method method, Class<T> annotationClass) static TyperesolveGenericType(Class<?> clazz, Class<?> genericType)
-
Constructor Details
-
TypeUtils
public TypeUtils()
-
-
Method Details
-
resolveGenericType
-
getAnnotationOnMethodOrClass
public static <T extends Annotation> Optional<T> getAnnotationOnMethodOrClass(Method method, Class<T> annotationClass)
-