public class Reflection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Reflection.ReflectionField |
static class |
Reflection.ReflectionMethod |
static class |
Reflection.ReflectionType |
Constructor and Description |
---|
Reflection() |
Modifier and Type | Method and Description |
---|---|
static BuilderClass |
createBuilderClass(Class<?> clazz) |
static Collection<Field> |
getAllFields(Class<?> clazz)
returns all fields of the class, including inherited fields
|
static List<Class<?>> |
getParameterTypes(Field field) |
static boolean |
isIterableType(Class<?> fieldType) |
static boolean |
isMapType(Class<?> fieldType) |
public static Collection<Field> getAllFields(Class<?> clazz)
public static boolean isIterableType(Class<?> fieldType)
public static boolean isMapType(Class<?> fieldType)
public static BuilderClass createBuilderClass(Class<?> clazz)
Copyright © 2021. All rights reserved.