sharin.util
Class ReflectUtils
java.lang.Object
sharin.util.ReflectUtils
public class ReflectUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectUtils
public ReflectUtils()
newInstance
public static <T> T newInstance(Class<T> clazz)
get
public static <T> T get(Field field,
Object object)
set
public static void set(Field field,
Object object,
Object value)
invoke
public static <T> T invoke(Method method,
Object obj,
Object... args)
Copyright © 2009 SHU. All Rights Reserved.