Class BigIntegerCachedClass


public class BigIntegerCachedClass extends NumberCachedClass
Provides optimized reflection caching for BigInteger. Coerces integral and big numeric types to BigInteger for type-safe method invocation.
  • Constructor Details

    • BigIntegerCachedClass

      public BigIntegerCachedClass(Class klazz, ClassInfo classInfo)
      Constructs a cached class representation for BigInteger.
      Parameters:
      klazz - the BigInteger class to cache
      classInfo - the class information associated with this cached class
  • Method Details

    • isDirectlyAssignable

      public boolean isDirectlyAssignable(Object argument)
      Checks if the given argument is directly assignable to BigInteger.
      Overrides:
      isDirectlyAssignable in class CachedClass
      Parameters:
      argument - the argument to check
      Returns:
      true if the argument is an instance of BigInteger, false otherwise
    • isAssignableFrom

      public boolean isAssignableFrom(Class classToTransformFrom)
      Determines if the given class can be transformed to BigInteger. Accepts integral types, boxed integral types, and other big numeric types.
      Overrides:
      isAssignableFrom in class NumberCachedClass
      Parameters:
      classToTransformFrom - the source class to check
      Returns:
      true if the class can be transformed to BigInteger, false otherwise