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 |
Modifier and Type | Method and Description |
---|---|
void |
box(BytecodeHelper helper) |
protected java.lang.Object |
coerceArray(java.lang.Object argument) |
protected java.lang.Object |
coerceGString(java.lang.Object argument)
Coerces a GString instance into String if needed
|
protected java.lang.Object |
coerceNumber(java.lang.Object argument) |
void |
doCast(BytecodeHelper helper) |
java.lang.Class |
getCachedClass() |
CachedClass |
getCachedSuperClass() |
CachedConstructor[] |
getConstructors() |
CachedField[] |
getFields() |
java.util.Set |
getInterfaces() |
CachedMethod[] |
getMethods() |
int |
getModifiers() |
java.lang.String |
getName() |
MetaMethod[] |
getNewMetaMethods() |
java.util.Set |
getOwnInterfaces() |
Reflector |
getReflector() |
int |
getSuperClassDistance() |
java.lang.String |
getTypeDescription() |
int |
hashCode() |
boolean |
isInterface() |
boolean |
isPrimitive() |
boolean |
isVoid() |
CachedMethod |
searchMethods(java.lang.String name,
CachedClass[] parameterTypes) |
void |
setNewMopMethods(java.util.ArrayList arr) |
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 int getModifiers()
protected java.lang.Object coerceGString(java.lang.Object argument)
protected java.lang.Object coerceNumber(java.lang.Object argument)
protected java.lang.Object coerceArray(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 java.lang.Class getCachedClass()
public MetaMethod[] getNewMetaMethods()
public void setNewMopMethods(java.util.ArrayList arr)
public java.lang.String toString()
toString
in class java.lang.Object