All Classes and Interfaces
Class
Description
Insert code after invoking the downcall handle.
The context.
Allocator requirement.
Primitive types that are convertible with
boolean
.Insert codes before invoking the downcall handle.
The context.
Returning-by-value structure
Common C memory layouts obtained with
Linker.canonicalLayouts()
.Marks a method or a parameter, as
DescriptorTransformer
will use
the canonical layout mapped from the linker of the current operating system.Insert bytecode representing a charset instance.
Insert check methods at the beginning of the method body.
The context.
Checks
Code inserters insert codes at a given position.
Constant descriptors
Marks a parameter that needs to convert from
boolean
to the given type,
or a return type that needs to convert from the given type to boolean
.Class with
Convert
informationThe constant desc
Marks a method that invokes a critical function.
This marker annotation is for methods and parameters to mark the native type of them.
Transforms the method and parameters into a function descriptor.
This interface provides access to function descriptors and method handles
for each function that is loaded by
Downcall
.The data for
DirectAccess
.Downcall library loader.
The downcall factory creates method handle and call sites for the generated native function invoker.
A parameter of a downcall method.
The constant desc
The method type of downcall method.
The constant desc.
Downcall option.
Downcall options.
specify custom function descriptors
specify a class to skip
specify target class
specify method handle transform
Specifies the entrypoint of a method.
Handle transformers process a method handle with a given context.
A layout builder that automatically aligns memory layouts.
The struct layout builder that aligns memory layouts with the C structure alignment.
Java-to-C helper.
Configurations
A check entry
Insert marshal (Java-to-C) method.
The context.
Processors are used to indicate how to process a value in
Downcall
.Processor types are used to remember the type of value to be processed in
Processor
.Array type
General superinterface of custom processor types
A factory that creates the upcall instance with a given upcall stub.
Primitive types, including
MemorySegment
void
typeThis class stores a map of processor types.
Marks a parameter as an array type that reads the result from the native code.
Insert code to copy from a segment to an array.
The context.
Transforms the return value with
Unmarshal
.The context.
Array
Skips generating a marked method.
Sets the charset of a string type.
The representation of a C structure.
C structure allocator.
Specification of
StructAllocator
.Typed code processors process a given type and consumes a value to insert code.
Type transformers transforms the given context to a specific type.
C-to-Java helper.
An upcall interface.
The type wrapper of an upcall interface.