[Java] Class ShortCachedClass
- org.codehaus.groovy.reflection.stdclasses.ShortCachedClass
Fields inherited from class | Fields |
---|---|
class CachedClass | EMPTY_ARRAY, classInfo, isArray, isInterface, isNumber, isPrimitive, modifiers, mopMethods |
Constructor Summary
Constructor and description |
---|
ShortCachedClass
(Class klazz, ClassInfo classInfo, boolean allowNull) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Object |
coerceArgument(Object argument) | |
boolean |
isAssignableFrom(Class classToTransformFrom) | |
boolean |
isDirectlyAssignable(Object argument) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class NumberCachedClass | coerceArgument, isAssignableFrom |
class CachedClass | addNewMopMethods, coerceArgument, getCachedClass, getCachedSuperClass, getCallSiteLoader, getConstructors, getDeclaredInterfaces, getFields, getHierarchy, getInterfaces, getMethods, getModifiers, getName, getNewMetaMethods, getSuperClassDistance, getTheClass, getTypeDescription, hashCode, isAssignableFrom, isDirectlyAssignable, isInterface, isPrimitive, isVoid, searchMethods, setNewMopMethods, toString |
Constructor Detail
public ShortCachedClass(Class klazz, ClassInfo classInfo, boolean allowNull)
Method Detail
public Object coerceArgument(Object argument)
public boolean isAssignableFrom(Class classToTransformFrom)
public boolean isDirectlyAssignable(Object argument)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/reflection/stdclasses/ShortCachedClass.html