public class ReflectionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
invokeArrayGetter(String methodName,
Class<T> returnType,
Object object) |
static <T> T |
invokeGetter(String methodName,
Class<T> returnType,
Object object) |
static Object |
invokeNonArgMethod(String methodName,
Object object) |
public static <T> T[] invokeArrayGetter(String methodName, Class<T> returnType, Object object) throws IllegalArgumentException, IllegalStateException
public static <T> T invokeGetter(String methodName, Class<T> returnType, Object object) throws IllegalArgumentException, IllegalStateException
Copyright © 2013–2014. All rights reserved.