public class ExtensionFunctionFactory extends Object implements Serializable
Constructor and Description |
---|
ExtensionFunctionFactory(Configuration config) |
Modifier and Type | Method and Description |
---|---|
Expression |
makeExtensionFunctionCall(int nameCode,
Class theClass,
AccessibleObject method,
Expression[] arguments)
Factory method to create an expression that calls a Java extension function.
|
void |
setExtensionFunctionClass(Class subclass)
Set the class to be used to represent extension function calls.
|
public ExtensionFunctionFactory(Configuration config)
public void setExtensionFunctionClass(Class subclass)
ExtensionFunctionCall
subclass
- the subclass of ExtensionFunctionCall to be usedpublic Expression makeExtensionFunctionCall(int nameCode, Class theClass, AccessibleObject method, Expression[] arguments)
nameCode
- the name of the function name, as represented in the name pooltheClass
- the Java class containing the extension functionmethod
- The "accessibleObject" representing a constructor, method, or field corresponding
to the extension functionarguments
- Array containing the expressions supplied as arguments to the function call.