protocol
java_access_protocolï
Protocol for a minimal abstraction for calling Java from Logtalk using familiar message-sending syntax.
Availability:
logtalk_load(java(loader))Author: Paulo Moura and Sergio Castro
Version: 1:2:1
Date: 2023-03-16
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicatesï
get_field/2ï
Gets the value of a class or object field.
Compilation flags:
staticTemplate:
get_field(Field,Value)Mode and number of proofs:
get_field(+atom,?nonvar) - zero_or_oneset_field/2ï
Sets the value of a class or object field.
Compilation flags:
staticTemplate:
set_field(Field,Value)Mode and number of proofs:
set_field(+atom,+nonvar) - onenew/2ï
Creates a new instance using the specified parameter values.
Compilation flags:
staticTemplate:
new(Parameters,Instance)Mode and number of proofs:
new(+list(nonvar),-reference) - onenew/1ï
Creates a new instance using default parameter values.
Compilation flags:
staticTemplate:
new(Instance)Mode and number of proofs:
new(-reference) - oneinvoke/1ï
Invokes a method. This is a more efficient compared with relying on the forward/1 handler to resolve methods.
Compilation flags:
staticTemplate:
invoke(Method)Mode and number of proofs:
invoke(@nonvar) - oneinvoke/2ï
Invokes a method. This is a more efficient compared with relying on the forward/1 handler to resolve methods.
Compilation flags:
staticTemplate:
invoke(Functor,Arguments)Mode and number of proofs:
invoke(@nonvar,@list) - oneProtected predicatesï
(none)
Private predicatesï
(none)
Operatorsï
(none)