com.mchange.v2.reflect
Class ReflectUtils
java.lang.Object
com.mchange.v2.reflect.ReflectUtils
public final class ReflectUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROXY_CTOR_ARGS
public static final Class[] PROXY_CTOR_ARGS
findProxyConstructor
public static Constructor findProxyConstructor(ClassLoader proxyClassLoader,
Class intfc)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
findProxyConstructor
public static Constructor findProxyConstructor(ClassLoader proxyClassLoader,
Class[] interfaces)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
isPublic
public static boolean isPublic(Member m)
isPublic
public static boolean isPublic(Class cl)
findPublicParent
public static Class findPublicParent(Class cl)
traverseInterfaces
public static Iterator traverseInterfaces(Class cl)
findInPublicScope
public static Method findInPublicScope(Method m)
- Finds a version of the Method m in a public class
or interface. Classes versions will be found before
interface versions, but no guarantees about which
interface if the method is declared in both.