Cloneablepublic final class NumberNumberPlus extends NumberNumberMetaMethod
NumberNumberMetaMethod.NumberNumberCallSiteisVargsMethod, nativeParamTypes, parameterTypes| Constructor | Description |
|---|---|
NumberNumberPlus() |
| Modifier and Type | Method | Description |
|---|---|---|
CallSite |
createPojoCallSite(CallSite site,
MetaClassImpl metaClass,
MetaMethod metaMethod,
Class[] params,
Object receiver,
Object[] args) |
|
String |
getName() |
Returns the name of the method represented by this class
|
Object |
invoke(Object object,
Object[] arguments) |
Invoke this method
|
static Number |
plus(Number left,
Number right) |
Add two numbers and return the result.
|
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toStringgetDeclaringClass, getModifiers, getReturnTypeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcoerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypespublic String getName()
MetaMethodgetName in class MetaMethodpublic Object invoke(Object object, Object[] arguments)
MetaMethodinvoke in class MetaMethodobject - The object this method should be invoked onarguments - The arguments for the method if applicablepublic static Number plus(Number left, Number right)
left - a Numberright - another Number to addpublic CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args)
createPojoCallSite in class CallSiteAwareMetaMethod