public class ReflectionUtils
extends org.springframework.util.ReflectionUtils
Modifier and Type | Class and Description |
---|---|
static class |
ReflectionUtils.Parameter |
org.springframework.util.ReflectionUtils.FieldCallback, org.springframework.util.ReflectionUtils.FieldFilter, org.springframework.util.ReflectionUtils.MethodCallback, org.springframework.util.ReflectionUtils.MethodFilter
Constructor and Description |
---|
ReflectionUtils() |
Modifier and Type | Method and Description |
---|---|
static List<ReflectionUtils.Parameter> |
getParameters(Method m)
Returns an object-oriented view of parameters of each type.
|
static Method |
getPublicMethodNamed(Class c,
String methodName)
Finds a public method of the given name, regardless of its parameter definitions,
|
static Object |
getPublicProperty(Object o,
String p) |
static Object |
getVmDefaultValueForPrimitiveType(Class<?> type)
Given the primitive type, returns the VM default value for that type in a boxed form.
|
declaresException, doWithFields, doWithFields, doWithMethods, doWithMethods, findField, findField, findMethod, findMethod, getAllDeclaredMethods, getField, getUniqueDeclaredMethods, handleInvocationTargetException, handleReflectionException, invokeJdbcMethod, invokeJdbcMethod, invokeMethod, invokeMethod, isCglibRenamedMethod, isEqualsMethod, isHashCodeMethod, isObjectMethod, isPublicStaticFinal, isToStringMethod, makeAccessible, makeAccessible, makeAccessible, rethrowException, rethrowRuntimeException, setField, shallowCopyFieldState
public static Method getPublicMethodNamed(Class c, String methodName)
public static List<ReflectionUtils.Parameter> getParameters(Method m)
public static Object getPublicProperty(Object o, String p) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException
Copyright © 2016. All rights reserved.