Class AbstractClosureInvocationHandler
- java.lang.Object
-
- org.eclipse.xtext.xbase.interpreter.impl.AbstractClosureInvocationHandler
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
- Direct Known Subclasses:
ClosureInvocationHandler
,DelegatingInvocationHandler
public abstract class AbstractClosureInvocationHandler extends java.lang.Object implements java.lang.reflect.InvocationHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractClosureInvocationHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.Object
doInvoke(java.lang.reflect.Method method, java.lang.Object[] args)
java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
protected boolean
isEquals(java.lang.reflect.Method method)
protected boolean
isHashCode(java.lang.reflect.Method method)
protected boolean
isToString(java.lang.reflect.Method method)
protected java.lang.String
proxyToString(java.lang.Object proxy)
-
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
- Specified by:
invoke
in interfacejava.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
-
proxyToString
protected java.lang.String proxyToString(java.lang.Object proxy)
- Parameters:
proxy
- the proxy instance. May be used by inheritors.
-
doInvoke
protected abstract java.lang.Object doInvoke(java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
isHashCode
protected boolean isHashCode(java.lang.reflect.Method method)
-
isToString
protected boolean isToString(java.lang.reflect.Method method)
-
isEquals
protected boolean isEquals(java.lang.reflect.Method method)
-
-