|Did you know ...||Search Documentation:|
:- use_module(library(jpl)).(can be autoloaded)
<jref>(1552320)(for static or instance methods)
'java.util.Date'(for static methods only)
'Ljava.util.Date;'(for static methods only)
class([java,util],['Date'])(for static methods only)
MethodName should be a method name (as an atom) (may involve dynamic overload resolution based on inferred types of params)
Params should be a proper list (perhaps empty) of suitable actual parameters for the named method.
The class or object may have several methods with the given name; JPL will resolve (per call) to the most appropriate method based on the quantity and inferred types of Params. This resolution mimics the corresponding static resolution performed by Java compilers.
Finally, an attempt will be made to unify Result with the
method's returned value, or with
@(void) if it has none.