|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.reflection.CachedClass
class CachedClass extends Object
Nested Class Summary | |
---|---|
class |
CachedClass.CachedMethodComparatorByName
|
class |
CachedClass.CachedMethodComparatorWithString
|
Field Summary | |
---|---|
static MetaMethod[] |
EMPTY
|
static CachedClass[] |
EMPTY_ARRAY
|
ClassInfo |
classInfo
|
int |
distance
|
int |
hashCode
|
boolean |
isArray
|
boolean |
isInterface
|
boolean |
isNumber
|
boolean |
isPrimitive
|
int |
modifiers
|
CachedMethod[] |
mopMethods
|
Constructor Summary | |
CachedClass(Class klazz, ClassInfo classInfo)
|
Method Summary | |
---|---|
void
|
addNewMopMethods(List arr)
|
Object
|
coerceArgument(Object argument)
|
void
|
doCast(BytecodeHelper helper)
|
CachedClass
|
getCachedClass()
compatibility method |
CachedClass
|
getCachedSuperClass()
|
CallSiteClassLoader
|
getCallSiteLoader()
|
CachedConstructor[]
|
getConstructors()
|
Set
|
getDeclaredInterfaces()
|
CachedField[]
|
getFields()
|
Collection
|
getHierarchy()
|
Set
|
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 arr)
|
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
static final MetaMethod[] EMPTY
static final CachedClass[] EMPTY_ARRAY
ClassInfo classInfo
int distance
int hashCode
final boolean isArray
final boolean isInterface
final boolean isNumber
final boolean isPrimitive
final int modifiers
CachedMethod[] mopMethods
Constructor Detail |
---|
public CachedClass(Class klazz, ClassInfo classInfo)
Method Detail |
---|
public void addNewMopMethods(List arr)
public Object coerceArgument(Object argument)
public void doCast(BytecodeHelper helper)
public CachedClass getCachedClass()
public CachedClass getCachedSuperClass()
public CallSiteClassLoader getCallSiteLoader()
public CachedConstructor[] getConstructors()
public Set getDeclaredInterfaces()
public CachedField[] getFields()
public Collection getHierarchy()
public Set getInterfaces()
public CachedMethod[] getMethods()
public int getModifiers()
public String getName()
public MetaMethod[] getNewMetaMethods()
public int getSuperClassDistance()
public final Class getTheClass()
public String getTypeDescription()
public int hashCode()
public boolean isAssignableFrom(Class argument)
public boolean isDirectlyAssignable(Object argument)
public boolean isInterface()
public boolean isPrimitive()
public boolean isVoid()
public CachedMethod searchMethods(String name, CachedClass[] parameterTypes)
public void setNewMopMethods(List arr)
public String toString()
Copyright © 2003-2009 The Codehaus. All rights reserved.