public final class NumberNumberMultiply extends NumberNumberMetaMethod
NumberNumberMetaMethod.NumberNumberCallSite
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
NumberNumberMultiply() |
Modifier and Type | Method and Description |
---|---|
CallSite |
createPojoCallSite(CallSite site,
MetaClassImpl metaClass,
MetaMethod metaMethod,
java.lang.Class[] params,
java.lang.Object receiver,
java.lang.Object[] args) |
java.lang.String |
getName() |
java.lang.Object |
invoke(java.lang.Object object,
java.lang.Object[] arguments) |
static java.lang.Number |
multiply(java.lang.Number left,
java.lang.Number right)
Multiply 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 java.lang.String getName()
getName
in class MetaMethod
public java.lang.Object invoke(java.lang.Object object, java.lang.Object[] arguments)
invoke
in class MetaMethod
public static java.lang.Number multiply(java.lang.Number left, java.lang.Number right)
left
- a Numberright
- another Numberpublic CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, java.lang.Class[] params, java.lang.Object receiver, java.lang.Object[] args)
createPojoCallSite
in class CallSiteAwareMetaMethod