public class DefaultInvoker extends Object implements Invoker
Invoker that performs the expected operation without anything extra.| Constructor and Description |
|---|
DefaultInvoker() |
| Modifier and Type | Method and Description |
|---|---|
Object |
constructorCall(Class lhs,
Object[] args) |
protected org.codehaus.groovy.runtime.callsite.CallSite |
fakeCallSite(String method) |
Object |
getArray(Object lhs,
Object index) |
Object |
getAttribute(Object lhs,
String name) |
Object |
getProperty(Object lhs,
String name) |
Object |
methodCall(Object receiver,
String method,
Object[] args) |
void |
setArray(Object lhs,
Object index,
Object value) |
void |
setAttribute(Object lhs,
String name,
Object value) |
void |
setProperty(Object lhs,
String name,
Object value) |
public Object methodCall(Object receiver, String method, Object[] args) throws Throwable
methodCall in interface InvokerThrowablepublic Object constructorCall(Class lhs, Object[] args) throws Throwable
constructorCall in interface InvokerThrowablepublic Object getProperty(Object lhs, String name) throws Throwable
getProperty in interface InvokerThrowablepublic void setProperty(Object lhs, String name, Object value) throws Throwable
setProperty in interface InvokerThrowablepublic Object getAttribute(Object lhs, String name) throws Throwable
getAttribute in interface InvokerThrowablepublic void setAttribute(Object lhs, String name, Object value) throws Throwable
setAttribute in interface InvokerThrowableprotected org.codehaus.groovy.runtime.callsite.CallSite fakeCallSite(String method)
Copyright © 2011–2014. All rights reserved.