object

# `java(Reference)`

- `Reference` - Either a class name or a Java reference to an object.

Minimal abstraction of the JPL API for calling Java from Logtalk using familiar message sending syntax and a `forward/1` handler to resolve methods.

Availability:
`logtalk_load(java(loader))`
Author: Paulo Moura and Sergio Castro
Version: 1:0:1
Date: 2019-06-13
Compilation flags:
`static, context_switching_calls`
Extends:
`public` java(Reference,_)
Remarks:

> - Usage: Send to this object any valid message as listed in the JavaDocs for the given reference.

Inherited public predicates:
forward/1 get_field/2 invoke/1 invoke/2 new/1 new/2 set_field/2

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

java(Reference,ReturnValue), java, java_hook