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
  • Constructor Details

    • NumberCachedClass

      public NumberCachedClass​(java.lang.Class klazz, ClassInfo classInfo)
  • Method Details

    • 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