Class JavaMethodInvoker
java.lang.Object
fr.inria.rules.integraal.model.functions.JavaMethodInvoker
- All Implemented Interfaces:
Invoker
-
Constructor Summary
ConstructorsConstructorDescriptionJavaMethodInvoker(TermFactory termFactory, String class_file_path, String class_full_name, String method_name) Creates an invoker backed by a static Java method loaded from a class file. -
Method Summary
-
Constructor Details
-
JavaMethodInvoker
public JavaMethodInvoker(TermFactory termFactory, String class_file_path, String class_full_name, String method_name) throws ClassNotFoundException, IOException, NoSuchMethodException Creates an invoker backed by a static Java method loaded from a class file.- Parameters:
termFactory- a term factoryclass_file_path- path of the .class fileclass_full_name- name of the .class filemethod_name- name of the method to call- Throws:
ClassNotFoundException- iff the given class is not foundIOException- iff the given class file cannot be accessedNoSuchMethodException- iff the given method is not found in the given class
-
-
Method Details
-
invoke
-