public final class NumberNumberPlus extends NumberNumberMetaMethod
NumberNumberMetaMethod.NumberNumberCallSiteisVargsMethod, nativeParamTypes, parameterTypes| Constructor and Description |
|---|
NumberNumberPlus() |
| 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()
Returns the name of the method represented by this class
|
java.lang.Object |
invoke(java.lang.Object object,
java.lang.Object[] arguments)
Invoke this method
|
static java.lang.Number |
plus(java.lang.Number left,
java.lang.Number right)
Add two numbers and return the result.
|
getDeclaringClass, getModifiers, getReturnTypecheckParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toStringcoerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypespublic java.lang.String getName()
MetaMethodgetName in class MetaMethodpublic java.lang.Object invoke(java.lang.Object object,
java.lang.Object[] arguments)
MetaMethodinvoke in class MetaMethodobject - The object this method should be invoked onarguments - The arguments for the method if applicablepublic static java.lang.Number plus(java.lang.Number left,
java.lang.Number right)
left - a Numberright - another Number to addpublic CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, java.lang.Class[] params, java.lang.Object receiver, java.lang.Object[] args)
createPojoCallSite in class CallSiteAwareMetaMethod