Debian Codegraph @

native/jpype_module/src/main/java/org/jpype/JPypeReflector.java

raw symbols SCIP
1 package org.jpype;
2
3 import java.lang.reflect.Method;
4
5 /**
6 *
7 * @author nelson85
8 */
9 public interface JPypeReflector
10 {
11
12 /**
13 * Call a method using reflection.
14 *
15 * This method creates a stackframe so that caller sensitive methods will
16 * execute properly.
17 *
18 * @param method is the method to call.
19 * @param obj is the object to operate on, it will be null if the method is
20 * static.
21 * @param args the arguments to method.
22 * @return the object that results form the invocation.
23 * @throws java.lang.Throwable throws whatever type the called method
24 * produces.
25 */
26 public Object callMethod(Method method, Object obj, Object[] args)
27 throws Throwable;
28 }