Package org.codehaus.groovy.reflection
Class CachedClass
java.lang.Object
org.codehaus.groovy.reflection.CachedClass
- Direct Known Subclasses:
- ArrayCachedClass,- BooleanCachedClass,- CachedClosureClass,- CachedSAMClass,- CharacterCachedClass,- NumberCachedClass,- ObjectCachedClass,- StringCachedClass
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final CachedClass[]final booleanfinal booleanfinal booleanfinal booleanfinal int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddNewMopMethods(List<MetaMethod> arr) coerceArgument(Object argument) compatibility methodintgetName()intfinal Class<?>inthashCode()booleanisAssignableFrom(Class<?> argument) booleanisDirectlyAssignable(Object argument) booleanbooleanbooleanisVoid()searchMethods(String name, CachedClass[] parameterTypes) voidsetNewMopMethods(List<MetaMethod> arr) toString()
- 
Field Details- 
EMPTY_ARRAY
- 
classInfo
- 
isArraypublic final boolean isArray
- 
isPrimitivepublic final boolean isPrimitive
- 
modifierspublic final int modifiers
- 
isInterfacepublic final boolean isInterface
- 
isNumberpublic final boolean isNumber
- 
mopMethods
 
- 
- 
Constructor Details- 
CachedClass
 
- 
- 
Method Details- 
getCachedSuperClass
- 
getInterfaces
- 
getDeclaredInterfaces
- 
getMethods
- 
getFields
- 
getConstructors
- 
searchMethods
- 
getModifierspublic int getModifiers()
- 
coerceArgument
- 
getSuperClassDistancepublic int getSuperClassDistance()
- 
hashCodepublic int hashCode()
- 
isPrimitivepublic boolean isPrimitive()
- 
isVoidpublic boolean isVoid()
- 
isInterfacepublic boolean isInterface()
- 
getName
- 
getTypeDescription
- 
getTheClass
- 
getNewMetaMethods
- 
setNewMopMethods
- 
addNewMopMethods
- 
isAssignableFrom
- 
isDirectlyAssignable
- 
getCallSiteLoader
- 
getHierarchy
- 
getCachedClasscompatibility method- Returns:
- this
 
- 
toString
 
-