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 |
---|---|
static CachedClass[] |
EMPTY_ARRAY |
boolean |
isArray |
boolean |
isInterface |
boolean |
isNumber |
boolean |
isPrimitive |
int |
modifiers |
CachedMethod[] |
mopMethods |
Constructor and Description |
---|
CachedClass(java.lang.Class klazz) |
Modifier and Type | Method and Description |
---|---|
void |
box(BytecodeHelper helper) |
java.lang.Object |
coerceArgument(java.lang.Object argument) |
void |
doCast(BytecodeHelper helper) |
CachedClass |
getCachedSuperClass()
This can't be final because ReflectionClass has an inner class that extends
CachedClass for java.lang.Object (ReflectionClass.OBJECT_CLASS) that returns
null for this method.
|
CachedConstructor[] |
getConstructors() |
CachedField[] |
getFields() |
java.util.Set |
getInterfaces() |
MetaClass |
getMetaClassForClass() |
CachedMethod[] |
getMethods() |
int |
getModifiers() |
java.lang.String |
getName() |
MetaMethod[] |
getNewMetaMethods() |
java.util.Set |
getOwnInterfaces() |
Reflector |
getReflector() |
int |
getSuperClassDistance() |
java.lang.Class |
getTheClass() |
java.lang.String |
getTypeDescription() |
int |
hashCode() |
boolean |
isAssignableFrom(java.lang.Class argument) |
boolean |
isInterface() |
boolean |
isPrimitive() |
boolean |
isVoid() |
CachedMethod |
searchMethods(java.lang.String name,
CachedClass[] parameterTypes) |
void |
setMetaClassForClass(MetaClass metaClassForClass,
boolean isConst) |
void |
setNewMopMethods(java.util.ArrayList arr) |
void |
setStaticMetaClassField(MetaClass mc) |
java.lang.String |
toString() |
void |
unbox(BytecodeHelper helper) |
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 java.util.Set getInterfaces()
public java.util.Set getOwnInterfaces()
public CachedClass getCachedSuperClass()
public CachedMethod[] getMethods()
public CachedField[] getFields()
public CachedConstructor[] getConstructors()
public CachedMethod searchMethods(java.lang.String name, CachedClass[] parameterTypes)
public final 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 void box(BytecodeHelper helper)
public void unbox(BytecodeHelper helper)
public boolean isInterface()
public void doCast(BytecodeHelper helper)
public java.lang.String getName()
public java.lang.String getTypeDescription()
public Reflector getReflector()
public final java.lang.Class getTheClass()
public MetaMethod[] getNewMetaMethods()
public void setNewMopMethods(java.util.ArrayList arr)
public void setStaticMetaClassField(MetaClass mc)
public MetaClass getMetaClassForClass()
public void setMetaClassForClass(MetaClass metaClassForClass, boolean isConst)
public boolean isAssignableFrom(java.lang.Class argument)
public java.lang.String toString()
toString
in class java.lang.Object