public class ReflectUtils extends Object
public static Constructor findConstructor(String desc)
public static Constructor findConstructor(String desc, ClassLoader loader)
public static Method findMethod(String desc, ClassLoader loader)
public static Object newInstance(Constructor cstruct, Object[] args)
public static Constructor getConstructor(Class type, Class[] parameterTypes)
public static Method[] getPropertyMethods(PropertyDescriptor[] properties, boolean read, boolean write)
public static PropertyDescriptor[] getBeanProperties(Class type)
public static PropertyDescriptor[] getBeanGetters(Class type)
public static PropertyDescriptor[] getBeanSetters(Class type)
public static Method findDeclaredMethod(Class type, String methodName, Class[] parameterTypes) throws NoSuchMethodException
NoSuchMethodException
public static Class defineClass(String className, byte[] b, ClassLoader loader) throws Exception
Exception
public static int findPackageProtected(Class[] classes)
public static MethodInfo getMethodInfo(Member member, int modifiers)
public static MethodInfo getMethodInfo(Member member)
Copyright © 2018. All rights reserved.