| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Type | Returns: true if this is an actual typeThe type to test type)An array type can be a class that is an array or a GenericArrayType |
| private static Class | |
| private static TypeVariable | |
| private static WildcardType | |
| private static boolean | Returns: true if this is an actual typeThe type to test type)An actual type is either a Class or a ParameterizedType |
| private static boolean | |
| private static boolean | Returns: true if this is an actual typeThe type to test type)An array type can be a class that is an array or a GenericArrayType |
| public static boolean | Returns: true if things are type safeThe type being assigned into requiredType, Type the type being assigned beanType)Returns true if the given requiredType is safely assignable from the given beanType. |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean |
| TypeChecker | back to summary |
|---|---|
| public TypeChecker() | |
| getArrayType | back to summary |
|---|---|
| private static Type getArrayType(Type type) An array type can be a class that is an array or a GenericArrayType | |
| getBound | back to summary |
|---|---|
| private static Class | |
| getTypeVariable | back to summary |
|---|---|
| private static TypeVariable | |
| getWildcard | back to summary |
|---|---|
| private static WildcardType getWildcard(Type type) | |
| isActualType | back to summary |
|---|---|
| private static boolean isActualType(Type type) An actual type is either a Class or a ParameterizedType
| |
| isActualTypeVariableSafe | back to summary |
|---|---|
| private static boolean isActualTypeVariableSafe(Class<?> actual, TypeVariable<?> tv) | |
| isArrayType | back to summary |
|---|---|
| private static boolean isArrayType(Type type) An array type can be a class that is an array or a GenericArrayType
| |
| isRawTypeSafe | back to summary |
|---|---|
| public static boolean isRawTypeSafe(Type requiredType, Type beanType) Returns true if the given requiredType is safely assignable
from the given beanType. In otherwords, if | |
| isTypeVariable | back to summary |
|---|---|
| private static boolean isTypeVariable(Type type) | |
| isTypeVariableTypeVariableSafe | back to summary |
|---|---|
| private static boolean isTypeVariableTypeVariableSafe(TypeVariable<?> rtv, TypeVariable<?> btv) | |
| isWildcard | back to summary |
|---|---|
| private static boolean isWildcard(Type type) | |
| isWildcardActualSafe | back to summary |
|---|---|
| private static boolean isWildcardActualSafe(WildcardType wildcard, Class<?> actual) | |
| isWildcardTypeVariableSafe | back to summary |
|---|---|
| private static boolean isWildcardTypeVariableSafe(WildcardType wildcard, TypeVariable<?> tv) | |