Arbortext Command Language > Functions by Alphabetical Listing > java_static
  
java_static
ret = java_static (class, method[, arg1[, arg2[, arg3[, ...arg20]]]])
This function executes Java code by calling the static method called method within class and passing the arguments arg1, arg2, arg3, and so on. Up to 20 arguments can be passed to the called method. You should supply the package name as part of the class name for the class parameter.
The called method must be a static method. The value returned by the java_static function is the value returned from the called method.
Use the java_instance function to call instance methods and the java_constructor function to call a constructor.
You can use the java_static function to call the Java garbage collector by following the example:
java_static('java.lang.System','gc');
Related Topics
java_static_modal function
java_constructor function
java_delete function
java_instance function
append_javaclass_path function
set javaclasspath command