net.sf.cglib.core
Class ReflectUtils
public
class
ReflectUtils
extends Object
Version: $Id: ReflectUtils.java,v 1.28 2005/06/06 17:11:23 herbyderby Exp $
Method Summary |
static List | addAllInterfaces(Class type, List list) |
static List | addAllMethods(Class type, List list) |
static Class | defineClass(String className, byte[] b, ClassLoader loader) |
static Constructor | findConstructor(String desc) |
static Constructor | findConstructor(String desc, ClassLoader loader) |
static Method | findDeclaredMethod(Class type, String methodName, Class[] parameterTypes) |
static Method | findInterfaceMethod(Class iface) |
static Method | findMethod(String desc) |
static Method | findMethod(String desc, ClassLoader loader) |
static Method | findNewInstance(Class iface) |
static int | findPackageProtected(Class[] classes) |
static PropertyDescriptor[] | getBeanGetters(Class type) |
static PropertyDescriptor[] | getBeanProperties(Class type) |
static PropertyDescriptor[] | getBeanSetters(Class type) |
static Class[] | getClasses(Object[] objects) |
static ClassInfo | getClassInfo(Class clazz) |
static Constructor | getConstructor(Class type, Class[] parameterTypes) |
static Type[] | getExceptionTypes(Member member) |
static MethodInfo | getMethodInfo(Member member, int modifiers) |
static MethodInfo | getMethodInfo(Member member) |
static String[] | getNames(Class[] classes) |
static Method[] | getPropertyMethods(PropertyDescriptor[] properties, boolean read, boolean write) |
static Signature | getSignature(Member member) |
static Object | newInstance(Class type) |
static Object | newInstance(Class type, Class[] parameterTypes, Object[] args) |
static Object | newInstance(Constructor cstruct, Object[] args) |
public static List addAllInterfaces(Class type, List list)
public static List addAllMethods(Class type, List list)
public static Class defineClass(String className, byte[] b, ClassLoader loader)
public static Constructor findConstructor(String desc)
public static Constructor findConstructor(String desc, ClassLoader loader)
public static Method findDeclaredMethod(Class type, String methodName, Class[] parameterTypes)
public static Method findInterfaceMethod(Class iface)
public static Method findMethod(String desc)
public static Method findMethod(String desc, ClassLoader loader)
public static Method findNewInstance(Class iface)
public static int findPackageProtected(Class[] classes)
public static PropertyDescriptor[] getBeanGetters(Class type)
public static PropertyDescriptor[] getBeanProperties(Class type)
public static PropertyDescriptor[] getBeanSetters(Class type)
public static Class[] getClasses(Object[] objects)
public static
ClassInfo getClassInfo(Class clazz)
public static Constructor getConstructor(Class type, Class[] parameterTypes)
public static Type[] getExceptionTypes(Member member)
public static
MethodInfo getMethodInfo(Member member, int modifiers)
public static
MethodInfo getMethodInfo(Member member)
public static String[] getNames(Class[] classes)
public static Method[] getPropertyMethods(PropertyDescriptor[] properties, boolean read, boolean write)
public static
Signature getSignature(Member member)
public static Object newInstance(Class type)
public static Object newInstance(Class type, Class[] parameterTypes, Object[] args)
public static Object newInstance(Constructor cstruct, Object[] args)
Copyright (c) 2001 - Apache Software Foundation