public final class ReflectionHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Object |
createInstance(Type type) |
static Object |
getDeserializedValue(String value,
Type type) |
static Type |
getFieldType(Object object,
String fieldName) |
static Object |
getFieldValue(Field field,
Object target) |
static String |
getSerializedValue(Object value) |
static boolean |
isArray(Type type) |
static boolean |
isCollection(Type type) |
static boolean |
isCompatibleCollection(Type type) |
static boolean |
isCompatibleMap(Type type) |
static boolean |
isList(Type type) |
static boolean |
isMap(Type type) |
static boolean |
isSimpleType(String typeName) |
static boolean |
isSimpleType(Type type) |
static void |
setFieldValue(Field field,
Object object,
Object value) |
public static boolean isArray(Type type)
public static boolean isCollection(Type type)
public static boolean isCompatibleCollection(Type type)
public static boolean isCompatibleMap(Type type)
public static boolean isList(Type type)
public static boolean isMap(Type type)
public static boolean isSimpleType(String typeName)
public static boolean isSimpleType(Type type)
Copyright © 2022 Indoqa Software Design und Beratung GmbH. All rights reserved.