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) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewMopMethods(java.util.List arr) |
void |
box(BytecodeHelper helper) |
java.lang.Object |
coerceArgument(java.lang.Object argument) |
void |
doCast(BytecodeHelper helper) |
CachedClass |
getCachedClass()
compatibility method
|
CachedClass |
getCachedSuperClass() |
CallSiteClassLoader |
getCallSiteLoader() |
CachedConstructor[] |
getConstructors() |
java.util.Set<CachedClass> |
getDeclaredInterfaces() |
CachedField[] |
getFields() |
java.util.Collection<ClassInfo> |
getHierarchy() |
java.util.Set<CachedClass> |
getInterfaces() |
CachedMethod[] |
getMethods() |
int |
getModifiers() |
java.lang.String |
getName() |
MetaMethod[] |
getNewMetaMethods() |
int |
getSuperClassDistance() |
java.lang.Class |
getTheClass() |
java.lang.String |
getTypeDescription() |
int |
hashCode() |
boolean |
isAssignableFrom(java.lang.Class argument) |
boolean |
isDirectlyAssignable(java.lang.Object argument) |
boolean |
isInterface() |
boolean |
isPrimitive() |
boolean |
isVoid() |
CachedMethod |
searchMethods(java.lang.String name,
CachedClass[] parameterTypes) |
void |
setNewMopMethods(java.util.List arr) |
java.lang.String |
toString() |
void |
unbox(BytecodeHelper helper) |
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.Objectpublic 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 final java.lang.Class getTheClass()
public MetaMethod[] getNewMetaMethods()
public void setNewMopMethods(java.util.List arr)
public void addNewMopMethods(java.util.List 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.Objectpublic CachedClass getCachedClass()