org.codehaus.groovy.reflection.stdclasses

## Class NumberCachedClass

- java.lang.Object
- - org.codehaus.groovy.reflection.CachedClass
  - - org.codehaus.groovy.reflection.stdclasses.NumberCachedClass

- Direct Known Subclasses:
    BigIntegerCachedClass, ByteCachedClass, DoubleCachedClass, FloatCachedClass, IntegerCachedClass, LongCachedClass, ShortCachedClass

      public class NumberCachedClass
      extends CachedClass

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.codehaus.groovy.reflection.CachedClass

      `CachedClass.CachedMethodComparatorByName, CachedClass.CachedMethodComparatorWithString`

  - ### Field Summary

    - ### Fields inherited from class org.codehaus.groovy.reflection.CachedClass

      `classInfo, EMPTY_ARRAY, isArray, isInterface, isNumber, isPrimitive, modifiers, mopMethods`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NumberCachedClass(java.lang.Class klazz, ClassInfo classInfo)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `coerceArgument(java.lang.Object argument)`
    `boolean` | `isAssignableFrom(java.lang.Class classToTransformFrom)`

    - ### Methods inherited from class org.codehaus.groovy.reflection.CachedClass

      `addNewMopMethods, getCachedClass, getCachedSuperClass, getCallSiteLoader, getConstructors, getDeclaredInterfaces, getFields, getHierarchy, getInterfaces, getMethods, getModifiers, getName, getNewMetaMethods, getSuperClassDistance, getTheClass, getTypeDescription, hashCode, isDirectlyAssignable, isInterface, isPrimitive, isVoid, searchMethods, setNewMopMethods, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### NumberCachedClass

          public NumberCachedClass(java.lang.Class klazz,
                           ClassInfo classInfo)

  - ### Method Detail

    - #### coerceArgument

          public java.lang.Object coerceArgument(java.lang.Object argument)

      Overrides:
        `coerceArgument` in class `CachedClass`

    - #### isAssignableFrom

          public boolean isAssignableFrom(java.lang.Class classToTransformFrom)

      Overrides:
        `isAssignableFrom` in class `CachedClass`