Top Fields Constructors Methods
com.mchange.v2.reflect

public final Class ReflectUtils

extends Object
Class Inheritance
Imports
java.lang.reflect.*, java.util.*

Field Summary

Modifier and TypeField and Description
public static final Class<T>[]

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
addParentInterfaces(Set<E> set, Class<T> cl)

public static Method
findInPublicScope(Method m)

Finds a version of the Method m in a public class or interface.

public static Constructor<T>
findProxyConstructor(ClassLoader proxyClassLoader, Class<T> intfc)

public static Constructor<T>
findProxyConstructor(ClassLoader proxyClassLoader, Class<T>[] interfaces)

public static Class<T>
public static boolean
public static boolean
isPublic(Class<T> cl)

public static Iterator<E>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

PROXY_CTOR_ARGSback to summary
public static final Class<T>[] PROXY_CTOR_ARGS

Constructor Detail

ReflectUtilsback to summary
private ReflectUtils()

Method Detail

addParentInterfacesback to summary
private static void addParentInterfaces(Set<E> set, Class<T> cl)
findInPublicScopeback to summary
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.

findProxyConstructorback to summary
public static Constructor<T> findProxyConstructor(ClassLoader proxyClassLoader, Class<T> intfc) throws NoSuchMethodException
findProxyConstructorback to summary
public static Constructor<T> findProxyConstructor(ClassLoader proxyClassLoader, Class<T>[] interfaces) throws NoSuchMethodException
findPublicParentback to summary
public static Class<T> findPublicParent(Class<T> cl)
isPublicback to summary
public static boolean isPublic(Member m)
isPublicback to summary
public static boolean isPublic(Class<T> cl)
traverseInterfacesback to summary
public static Iterator<E> traverseInterfaces(Class<T> cl)