Methods
Modifier and Type |
Method and Description |
static Object |
convert(Type expectedType,
Object value,
boolean lazyRefAllowed) |
static Recipe |
getCaller() |
static Type[] |
getTypeParameters(Class desiredType,
Type type) |
static boolean |
hasDefaultConstructor(Class type) |
static boolean |
isAssignable(Type expectedType,
Type actualType) |
static boolean |
isAssignableFrom(Class expected,
Class actual) |
static boolean |
isAssignableFrom(List<? extends Class<?>> expectedTypes,
List<? extends Class<?>> actualTypes) |
static boolean |
isConvertable(Type type,
Object propertyValue) |
static boolean |
isInstance(Type t,
Object instance) |
static boolean |
isSimpleType(Object o) |
static Class |
loadClass(String name) |
static <K,V> List<Map.Entry<K,V>> |
prioritizeProperties(Map<K,V> properties) |
static Class |
toClass(Type type) |