Cloneable
public final class NumberNumberDiv extends NumberNumberMetaMethod
NumberNumberMetaMethod.NumberNumberCallSite
isVargsMethod, nativeParamTypes, parameterTypes
Constructor | Description |
---|---|
NumberNumberDiv() |
Modifier and Type | Method | Description |
---|---|---|
CallSite |
createPojoCallSite(CallSite site,
MetaClassImpl metaClass,
MetaMethod metaMethod,
Class[] params,
Object receiver,
Object[] args) |
|
static Number |
div(Number left,
Number right) |
Divide two Numbers.
|
String |
getName() |
Returns the name of the method represented by this class
|
Object |
invoke(Object object,
Object[] arguments) |
Invoke this method
|
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
getDeclaringClass, getModifiers, getReturnType
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, getPT, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public String getName()
MetaMethod
getName
in class MetaMethod
public Object invoke(Object object, Object[] arguments)
MetaMethod
invoke
in class MetaMethod
object
- The object this method should be invoked onarguments
- The arguments for the method if applicablepublic static Number div(Number left, Number right)
left
- a Numberright
- another Numberpublic CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args)
createPojoCallSite
in class CallSiteAwareMetaMethod