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 booleanhaveSameBounds(Type left, Type right) static TyperesolveGenericType(Class<?> clazz, Class<?> genericType) unrelatedTypes(Set<Class<?>> left, Set<Class<?>> right)
-
Constructor Details
-
TypeUtils
public TypeUtils()
-
-
Method Details
-
haveSameBounds
-
resolveGenericType
-
getAnnotationOnMethodOrClass
public static <T extends Annotation> Optional<T> getAnnotationOnMethodOrClass(Method method, Class<T> annotationClass)