|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
def |
EMPTY
|
def |
EMPTY_ARRAY
|
Object |
NONE
|
Class |
cachedClass
|
CachedClass |
cachedSuperClass
|
def |
constructors
|
int |
distance
|
def |
fields
|
int |
hashCode
|
Set |
interfaces
|
boolean |
isArray
|
boolean |
isInterface
|
boolean |
isNumber
|
boolean |
isPrimitive
|
Object |
metaClassForClass
|
def |
methods
|
int |
modifiers
|
def |
mopMethods
|
def |
newMetaMethods
|
Set |
ownInterfaces
|
Reflector |
reflector
|
Object |
staticMetaClassField
|
Constructor Summary | |
CachedClass(Class klazz)
|
Method Summary | |
---|---|
void |
box(BytecodeHelper helper)
|
Object |
coerceArgument(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. |
def |
getConstructors()
|
def |
getFields()
|
Set |
getInterfaces()
|
MetaClass |
getMetaClassForClass()
|
def |
getMethods()
|
int |
getModifiers()
|
String |
getName()
|
def |
getNewMetaMethods()
|
Set |
getOwnInterfaces()
|
Reflector |
getReflector()
|
int |
getSuperClassDistance()
|
Class |
getTheClass()
|
String |
getTypeDescription()
|
int |
hashCode()
|
void |
initialize()
Initialization involves making calls back to ReflectionCache to popuplate the "assignable from" structure. |
boolean |
isAssignableFrom(Class argument)
|
boolean |
isDirectlyAssignable(Object argument)
|
boolean |
isInterface()
|
boolean |
isPrimitive()
|
boolean |
isVoid()
|
CachedMethod |
searchMethods(String name, def parameterTypes)
|
void |
setMetaClassForClass(MetaClass metaClassForClass, boolean isConst)
|
void |
setNewMopMethods(ArrayList arr)
|
void |
setStaticMetaClassField(MetaClass mc)
|
void |
unbox(BytecodeHelper helper)
|
Constructor Detail |
---|
public CachedClass(Class klazz)
Method Detail |
---|
public void box(BytecodeHelper helper)
public Object coerceArgument(Object argument)
public void doCast(BytecodeHelper helper)
public CachedClass getCachedSuperClass()
public def getConstructors()
public def getFields()
public Set getInterfaces()
public MetaClass getMetaClassForClass()
public def getMethods()
public int getModifiers()
public String getName()
public def getNewMetaMethods()
public Set getOwnInterfaces()
public Reflector getReflector()
public int getSuperClassDistance()
public Class getTheClass()
public String getTypeDescription()
public int hashCode()
public void initialize()
public boolean isAssignableFrom(Class argument)
public boolean isDirectlyAssignable(Object argument)
public boolean isInterface()
public boolean isPrimitive()
public boolean isVoid()
public CachedMethod searchMethods(String name, def parameterTypes)
public void setMetaClassForClass(MetaClass metaClassForClass, boolean isConst)
public void setNewMopMethods(ArrayList arr)
public void setStaticMetaClassField(MetaClass mc)
public void unbox(BytecodeHelper helper)