public class MethodArgumentsUberspector extends AbstractChainableUberspector implements org.apache.velocity.util.RuntimeServicesAware
$obj.someMethod('VALUE')
// will forward to
obj.someMethod(SomeEnum.VALUE)
// if obj has someMethod(SomeEnum) and not someMethod(String)
ChainableUberspectororg.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl, org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl, org.apache.velocity.util.introspection.UberspectImpl.VelSetterImplinner| Constructor and Description |
|---|
MethodArgumentsUberspector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.velocity.util.introspection.VelMethod |
getMethod(Object obj,
String methodName,
Object[] args,
org.apache.velocity.util.introspection.Info i) |
void |
setRuntimeServices(org.apache.velocity.runtime.RuntimeServices runtimeServices) |
getIterator, getPropertyGet, getPropertySet, init, wrappublic void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices runtimeServices)
setRuntimeServices in interface org.apache.velocity.util.RuntimeServicesAwarepublic org.apache.velocity.util.introspection.VelMethod getMethod(Object obj, String methodName, Object[] args, org.apache.velocity.util.introspection.Info i) throws Exception
getMethod in interface org.apache.velocity.util.introspection.UberspectgetMethod in class AbstractChainableUberspectorExceptionCopyright © 2004–2017 XWiki. All rights reserved.