public class ClassHierarchyIntrospector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.reflect.Method |
equals
Deprecated.
since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
|
static java.lang.reflect.Method |
hashCode
Deprecated.
since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class[] |
addIfClassProxyingSupportedAndNotObject(java.lang.Class clazz,
java.lang.Class[] interfaces,
ProxyFactory proxyFactory)
Deprecated.
since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
|
static java.lang.Class[] |
getAllInterfaces(java.lang.Class clazz)
Deprecated.
since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
|
static java.lang.Class[] |
getAllInterfaces(java.lang.Object[] objects)
Deprecated.
since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
|
static java.lang.Class |
getMostCommonSuperclass(java.lang.Object[] objects)
Deprecated.
since 0.2, use com.thoughtworks.proxy.kit.ReflectionUitls.
|
public static java.lang.reflect.Method equals
Object.equals(Object)
method.public static java.lang.reflect.Method hashCode
Object.hashCode()
method.public static java.lang.Class[] getAllInterfaces(java.lang.Object[] objects)
objects
- the list of objects to consider.public static java.lang.Class[] getAllInterfaces(java.lang.Class clazz)
clazz
- type to explore.public static java.lang.Class getMostCommonSuperclass(java.lang.Object[] objects)
objects
- the array of objects to consider.Void
.class
for an empty array.public static java.lang.Class[] addIfClassProxyingSupportedAndNotObject(java.lang.Class clazz, java.lang.Class[] interfaces, ProxyFactory proxyFactory)
clazz
- the class type (Object.class
will be ignored)interfaces
- the array of interfacesproxyFactory
- the ProxyFactory
in use