java.lang.Object
org.simpleflatmapper.util.TypeHelper
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanareCompatible(Class<?> target, Class<?> source) static booleanstatic ClassLoadergetClassLoader(Type target, ClassLoader defaultClassLoader) static TypegetComponentTypeOfListOrArray(Type outType) static Type[]getGenericParameterForClass(Type type, Class<?> interfaceClass) static TypeHelper.MapEntryTypesgetKeyValueTypeOfMap(Type outType) static <T> Map<TypeVariable<?>,Type> getTypesMap(Type targetType) static booleanstatic booleanisAssignable(Class<?> class1, Type from) static booleanisAssignable(Type type, Type from) static booleanstatic booleanisInPackage(Type target, Predicate<String> packagePredicate) static booleanisJavaLang(Type target) static booleanisKotlinClass(Type target) static booleanstatic booleanisPrimitive(Type type) static TyperesolveTypeVariable(Type type, TypeVariable t) static voidresolveTypeVariables(Type source, Type[] types) static Class<?>toBoxedClass(Class<?> target) static Class<?>toBoxedClass(Type type) static <T> Class<T>static Class<?>
-
Method Details
-
toClass
-
getClassLoader
-
getTypesMap
-
isPrimitive
-
wrap
-
areCompatible
-
isNumber
-
isArray
-
getComponentTypeOfListOrArray
-
getKeyValueTypeOfMap
-
isAssignable
-
isAssignable
-
isJavaLang
-
isInPackage
-
isEnum
-
toBoxedClass
-
toBoxedClass
-
areEquals
-
getGenericParameterForClass
-
resolveTypeVariables
-
resolveTypeVariable
-
isKotlinClass
-