Constructor and Description |
---|
ReflectionUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
callGetter(Object object,
String getterName,
Class<T> resultType) |
static <T> T |
callGetter(Object object,
String getterName,
Object arg,
Class<?> argType,
Class<T> resultType) |
static void |
callSetter(Object object,
String setterName,
Class<?> type,
Object value) |
static int |
determineJRELevel() |
public static void callSetter(Object object, String setterName, Class<?> type, Object value)
public static <T> T callGetter(Object object, String getterName, Object arg, Class<?> argType, Class<T> resultType)
T
- The return type.public static int determineJRELevel()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.