public final class NumberNumberMinus extends NumberNumberMetaMethod
NumberNumberMetaMethod.NumberNumberCallSite
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
NumberNumberMinus() |
Modifier and Type | Method and Description |
---|---|
CallSite |
createPojoCallSite(CallSite site,
MetaClassImpl metaClass,
MetaMethod metaMethod,
Class[] params,
Object receiver,
Object[] args) |
String |
getName() |
Object |
invoke(Object object,
Object[] arguments) |
static Number |
minus(Number left,
Number right)
Subtraction of two Numbers.
|
getDeclaringClass, getModifiers, getReturnType
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public String getName()
getName
in class MetaMethod
public Object invoke(Object object, Object[] arguments)
invoke
in class MetaMethod
public static Number minus(Number left, Number right)
left
- a Numberright
- another Number to subtract to the first onepublic CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args)
createPojoCallSite
in class CallSiteAwareMetaMethod