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