public class ReflectUtil extends Object
ReflectUtil()
static Field
getField(Class<?> klass, String fieldName)
static Method
getMethod(Class<?> klass, String methodName, Class<?>[] paramTypes)
static <O> O
invokeMethod(Method m, Object o, Object... params)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ReflectUtil()
public static Method getMethod(Class<?> klass, String methodName, Class<?>[] paramTypes)
public static Field getField(Class<?> klass, String fieldName)
public static <O> O invokeMethod(Method m, Object o, Object... params)
Copyright © 2012–2014 CodeLutin. All rights reserved.