Package gw.internal.gosu.parser
Class MethodCallAdapter
- java.lang.Object
-
- gw.internal.gosu.parser.MethodCallAdapter
-
- All Implemented Interfaces:
IMethodCallHandler
public class MethodCallAdapter extends java.lang.Object implements IMethodCallHandler
Handles Gosu->Java method call adaptation
-
-
Constructor Summary
Constructors Constructor Description MethodCallAdapter(java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.MethodgetMethod()java.lang.ObjecthandleCall(java.lang.Object ctx, java.lang.Object... argValues)private java.lang.RuntimeExceptionmakeMethodCallEvaluationException(java.lang.reflect.Method method, java.lang.Throwable t)
-
-
-
Method Detail
-
handleCall
public java.lang.Object handleCall(java.lang.Object ctx, java.lang.Object... argValues)- Specified by:
handleCallin interfaceIMethodCallHandler
-
getMethod
public java.lang.reflect.Method getMethod()
-
makeMethodCallEvaluationException
private java.lang.RuntimeException makeMethodCallEvaluationException(java.lang.reflect.Method method, java.lang.Throwable t)
-
-