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