public class CachedClass
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CachedClass.CachedMethodComparatorByName |
static class |
CachedClass.CachedMethodComparatorWithString |
Modifier and Type | Field and Description |
---|---|
ClassInfo |
classInfo |
static CachedClass[] |
EMPTY_ARRAY |
boolean |
isArray |
boolean |
isInterface |
boolean |
isNumber |
boolean |
isPrimitive |
int |
modifiers |
CachedMethod[] |
mopMethods |
Constructor and Description |
---|
CachedClass(java.lang.Class klazz,
ClassInfo classInfo) |
public ClassInfo classInfo
public CachedMethod[] mopMethods
public static final CachedClass[] EMPTY_ARRAY
public final boolean isArray
public final boolean isPrimitive
public final int modifiers
public final boolean isInterface
public final boolean isNumber
public CachedClass(java.lang.Class klazz, ClassInfo classInfo)
public CachedClass getCachedSuperClass()
public java.util.Set<CachedClass> getInterfaces()
public java.util.Set<CachedClass> getDeclaredInterfaces()
public CachedMethod[] getMethods()
public CachedField[] getFields()
public CachedConstructor[] getConstructors()
public CachedMethod searchMethods(java.lang.String name, CachedClass[] parameterTypes)
public int getModifiers()
public java.lang.Object coerceArgument(java.lang.Object argument)
public int getSuperClassDistance()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isPrimitive()
public boolean isVoid()
public boolean isInterface()
public java.lang.String getName()
public java.lang.String getTypeDescription()
public final java.lang.Class getTheClass()
public MetaMethod[] getNewMetaMethods()
public void setNewMopMethods(java.util.List<MetaMethod> arr)
public void addNewMopMethods(java.util.List<MetaMethod> arr)
public boolean isAssignableFrom(java.lang.Class argument)
public boolean isDirectlyAssignable(java.lang.Object argument)
public CallSiteClassLoader getCallSiteLoader()
public java.util.Collection<ClassInfo> getHierarchy()
public java.lang.String toString()
toString
in class java.lang.Object
public CachedClass getCachedClass()