public class ReflectionUtils extends Object
| Constructor and Description |
|---|
ReflectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
classIsGeneric(Class<?> clazz) |
static Type[] |
getActualTypeArgs(Type type) |
static List<Field> |
getAllDeclaredFields(Class clazz) |
static Type[] |
getClassTypeArguments(Class<?> rawType) |
static <T> Constructor<T> |
getDefaultOrFirstConstructor(Class<T> clazz) |
static Field |
getField(Class clazz,
String fieldName) |
static Class |
getRawType(Type type) |
static boolean |
isArrayType(Type type) |
static boolean |
typeIsFullyResolved(Field field) |
public static <T> Constructor<T> getDefaultOrFirstConstructor(Class<T> clazz)
public static boolean isArrayType(Type type)
public static boolean classIsGeneric(Class<?> clazz)
public static boolean typeIsFullyResolved(Field field)
Copyright © 2016. All rights reserved.