public final class ReflectionUtils extends Object
java.lang.reflect| Modifier and Type | Method and Description |
|---|---|
static Field[] |
getAllFields(Class<?> klass) |
static Method[] |
getAllMethods(Class<?> klass) |
static Object |
getFieldValue(Object instance,
Field field) |
static Object[] |
invokeMethodsWithAnnotation(Object instance,
Class<? extends Annotation> annotationClass,
Method[] methods) |
public static Object getFieldValue(Object instance, Field field) throws IllegalAccessException
IllegalAccessExceptionCopyright © 2022. All rights reserved.