Package com.mchange.v2.reflect
Class ReflectUtils
java.lang.Object
com.mchange.v2.reflect.ReflectUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodFinds a version of the Method m in a public class or interface.static ConstructorfindProxyConstructor(ClassLoader proxyClassLoader, Class intfc) static ConstructorfindProxyConstructor(ClassLoader proxyClassLoader, Class[] interfaces) static Classstatic booleanstatic booleanstatic Iterator
-
Field Details
-
PROXY_CTOR_ARGS
-
-
Method Details
-
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
-
isPublic
-
findPublicParent
-
traverseInterfaces
-
findInPublicScope
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.
-