Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC

Function java-exec-method

java-exec-method javaClassName methodName [arg1 [arg2 ...]]

Executes the given static method and returns the result.

Parameters:
javaClassName - String or Symbol identifying a Java class.
methodName - String or Symbol identifying a static method in the Java class.
argN - Parameter values for the method.
Returns:
The value that the method call returned, converted to Tea.

Executes the static method with the supplied arguments.

Support for method overloading is limited, as Tea-to-Java argument convertion algorithm only covers a few promotions. For better overloaded method identification, see also java-get-method.

Since: 3.2.1

Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC
Report a bug or request new features
© 2009