public class BigDecimalCachedClass
extends DoubleCachedClass
Provides optimized reflection caching for BigDecimal. Coerces numeric arguments to BigDecimal for type-safe method invocation.
| Fields inherited from class | Fields |
|---|---|
class CachedClass |
EMPTY_ARRAY, classInfo, isArray, isInterface, isNumber, isPrimitive, modifiers, mopMethods |
| Constructor and description |
|---|
BigDecimalCachedClass(Class klazz, ClassInfo classInfo)Constructs a cached class representation for BigDecimal. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
coerceArgument(Object argument)Coerces the given numeric argument to BigDecimal. |
|
public boolean |
isDirectlyAssignable(Object argument)Checks if the given argument is directly assignable to BigDecimal. |
| Methods inherited from class | Name |
|---|---|
class DoubleCachedClass |
coerceArgument, isAssignableFrom, isDirectlyAssignable |
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 |
Constructs a cached class representation for BigDecimal.
klazz - the BigDecimal class to cacheclassInfo - the class information associated with this cached classCoerces the given numeric argument to BigDecimal.
argument - the argument to coerceChecks if the given argument is directly assignable to BigDecimal.
argument - the argument to checktrue if the argument is an instance of BigDecimal, false otherwiseCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.