[Java] Class ShortCachedClass

  • org.codehaus.groovy.reflection.stdclasses.ShortCachedClass
public class ShortCachedClass
extends NumberCachedClass
Inherited fields
Fields inherited from class Fields
class CachedClass EMPTY_ARRAY, classInfo, isArray, isInterface, isNumber, isPrimitive, modifiers, mopMethods

Constructor Summary

Constructors
Constructor and description
ShortCachedClass (Class klazz, ClassInfo classInfo, boolean allowNull)

Methods Summary

Methods
Type Params Return Type Name and description
public Object coerceArgument(Object argument)
public boolean isAssignableFrom(Class classToTransformFrom)
public boolean isDirectlyAssignable(Object argument)

Inherited Methods Summary

Inherited Methods
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, initValue, initValue, initValue, initValue, initValue, initValue, initValue, initValue, 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/3.0.7/html/gapi/org/codehaus/groovy/reflection/stdclasses/ShortCachedClass.html