[Java] Class CachedClass
- org.codehaus.groovy.reflection.CachedClass
public class CachedClass
extends Object
Nested Class Summary
Field Summary
Constructor Summary
Methods Summary
Inherited Methods Summary
Field Detail
public static final CachedClass[] EMPTY_ARRAY
public final boolean isArray
public final boolean isInterface
public final boolean isNumber
public final boolean isPrimitive
public final int modifiers
Constructor Detail
public CachedClass(Class<?> klazz, ClassInfo classInfo)
Method Detail
public void addNewMopMethods(List<MetaMethod> arr)
public Object coerceArgument(Object argument)
public CachedClass getCachedClass()
compatibility method
- Returns:
- this
public CachedClass getCachedSuperClass()
public Set<CachedClass> getDeclaredInterfaces()
public int getModifiers()
public String getName()
public int getSuperClassDistance()
public final Class getTheClass()
public String getTypeDescription()
@Override public int hashCode()
public boolean isAssignableFrom(Class argument)
public boolean isDirectlyAssignable(Object argument)
public boolean isInterface()
public boolean isPrimitive()
public boolean isVoid()
public void setNewMopMethods(List<MetaMethod> arr)