Package dev.cerus.maps.util
Class ReflectionUtil
java.lang.Object
dev.cerus.maps.util.ReflectionUtil
Collection of reflection utility methods
-
Method Details
-
invoke
public static Object invoke(String name, Class<?> cls, Object o, Object[] params) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException -
invoke
public static Object invoke(String name, Class<?> cls, Object o, Class<?>[] paramsClasses, Object[] params) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException -
get
public static Object get(String name, Class<?> cls, Object o) throws NoSuchFieldException, IllegalAccessException -
set
public static void set(String name, Class<?> cls, Object o, Object val) throws NoSuchFieldException, IllegalAccessException -
subclass
-