@Beta
public class Reflections
extends java.lang.Object
Constructor and Description |
---|
Reflections() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.reflect.Field> |
constantsFrom(java.lang.Class<?> constantsContainer) |
static java.util.List<java.lang.reflect.Method> |
declaredGetters(java.lang.Object object) |
static java.lang.Object |
invokeUnchecked(java.lang.Object object,
java.lang.reflect.Method getter) |
static boolean |
isFinalField(java.lang.reflect.Field field) |
static boolean |
isPublicConstant(java.lang.reflect.Field field) |
static boolean |
isPublicField(java.lang.reflect.Field field) |
static boolean |
isSerialVersionUid(java.lang.reflect.Field field) |
static boolean |
isStaticField(java.lang.reflect.Field field) |
static java.util.Optional<java.lang.Object> |
optionalValueOfStaticField(java.lang.reflect.Field field) |
static java.lang.Object |
valueOfField(java.lang.reflect.Field field,
java.lang.Object target) |
static java.lang.Object |
valueOfStaticField(java.lang.reflect.Field field) |
static void |
verifyAllDeclaredGettersReturnSomething(java.lang.Object object) |
public static final java.lang.Object invokeUnchecked(java.lang.Object object, java.lang.reflect.Method getter)
public static java.util.List<java.lang.reflect.Method> declaredGetters(java.lang.Object object)
public static final void verifyAllDeclaredGettersReturnSomething(java.lang.Object object)
public static java.lang.Object valueOfField(java.lang.reflect.Field field, java.lang.Object target)
public static boolean isPublicField(java.lang.reflect.Field field)
public static boolean isFinalField(java.lang.reflect.Field field)
public static boolean isStaticField(java.lang.reflect.Field field)
public static boolean isPublicConstant(java.lang.reflect.Field field)
public static boolean isSerialVersionUid(java.lang.reflect.Field field)
public static java.lang.Object valueOfStaticField(java.lang.reflect.Field field)
public static java.util.Optional<java.lang.Object> optionalValueOfStaticField(java.lang.reflect.Field field)
public static java.util.Set<java.lang.reflect.Field> constantsFrom(java.lang.Class<?> constantsContainer)