org.codehaus.groovy.runtime.dgmimpl
[Java] Class NumberNumberPlus
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
groovy.lang.MetaMethod
org.codehaus.groovy.runtime.callsite.CallSiteAwareMetaMethod
org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod
org.codehaus.groovy.runtime.dgmimpl.NumberNumberPlus
public final class NumberNumberPlus
extends NumberNumberMetaMethod
Methods inherited from class MetaMethod
|
checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getModifiers, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString |
Methods inherited from class ParameterTypes
|
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
createPojoCallSite
public CallSite createPojoCallSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params, Object receiver, Object[] args)
-
getName
public String getName()
-
invoke
public Object invoke(Object object, Object[] arguments)
-
plus
public static Number plus(Number left, Number right)
- Add two numbers and return the result.
- Parameters:
left
- a Numberright
- another Number to add
- Returns:
- the addition of both Numbers
Copyright © 2003-2013 The Codehaus. All rights reserved.