Service provider interface implemented by external default exports of a library.
Service provider interface implemented by library exports if they needed to be loaded eagerly with a library.
Internal interface for generated code only.
A library that allows to dynamically dispatch to export library classes.
Base class for all Truffle library specifications.
|LibraryExport<T extends Library>||
Base class for generated export classes.
|LibraryFactory<T extends Library>||
Library factories allow to create instances of libraries used to call library messages.
Represents a description of library message.
The reflection library allows to send to and proxy messages of receivers.
The cached library annotation allows to use
Allows to export messages of Truffle libraries.
Repeat annotation for
Exports the annotated method or class as library message.
Explicitly ignores warning messages originating from the
Libraries are specified with
Makes a library message abstract, but allows to keep a default implementation.
Before reading the javadoc make sure you have read the tutorial .
Start learning Truffle Libraries by reading the following articles:
Librariesspecify the set of available messages i.e. the protocol.
Exportsimplement a library for a receiver type.
ReflectionLibraryallows to reflectively export and call messages without binary dependency to a library. It also allows to implement library agnostic proxies.
DynamicDispatchLibraryallows to implement receivers that dynamically dispatch to exported message implementations.
To specify libraries,
To export libraries,
To dispatch libraries from nodes,
To manually dispatch messages