Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- Accessors - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- aClass() - Method in record class overrun.marshal.internal.DowncallOptions.TargetClass
-
Returns the value of the
aClass
record component. - add(MemoryLayout, String) - Method in class overrun.marshal.LayoutBuilder
-
Adds a memory layout with the given name.
- addProcessor(CodeInserter<T>) - Method in class overrun.marshal.gen.processor.CodeInserter
- addProcessor(TypedCodeProcessor<T>) - Method in class overrun.marshal.gen.processor.TypedCodeProcessor
- addProcessor(TypeTransformer<T, R>) - Method in class overrun.marshal.gen.processor.TypeTransformer
- addProcessor(T) - Method in interface overrun.marshal.gen.processor.Processor
-
Adds an alternative processor to this.
- ADDRESS - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
MemorySegment
type - AfterInvokeProcessor - Class in overrun.marshal.gen.processor
-
Insert code after invoking the downcall handle.
- AfterInvokeProcessor.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- allocationRequirement() - Method in interface overrun.marshal.gen.processor.ProcessorType
-
Returns the allocator requirement.
- allocationRequirement() - Method in class overrun.marshal.gen.processor.ProcessorType.Allocator
- allocationRequirement() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
- allocationRequirement() - Method in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
- allocationRequirement() - Method in class overrun.marshal.gen.processor.ProcessorType.Str
- allocationRequirement() - Method in class overrun.marshal.gen.processor.ProcessorType.Struct
- allocationRequirement() - Method in class overrun.marshal.gen.processor.ProcessorType.Upcall
- allocationRequirement() - Method in enum class overrun.marshal.gen.processor.ProcessorType.Value
- allocationRequirement() - Method in class overrun.marshal.gen.processor.ProcessorType.Void
- ALLOCATOR - Enum constant in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
SegmentAllocator
required - AllocatorRequirement - Enum Class in overrun.marshal.gen.processor
-
Allocator requirement.
- allocatorSlot() - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Returns the value of the
allocatorSlot
record component. - allocatorSlot() - Method in record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Returns the value of the
allocatorSlot
record component. - allocatorSpec() - Method in class overrun.marshal.gen.processor.ProcessorType.Struct
-
Returns the allocator.
- allowHeapAccess() - Element in annotation interface overrun.marshal.gen.Critical
-
Returns whether the linked function should allow access to the Java heap.
- Annotations - Search tag in class overrun.marshal.Downcall
- Section
- ARENA - Enum constant in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
Arena
required - Array - Search tag in annotation interface overrun.marshal.gen.Sized
- Section
- Array(ProcessorType) - Constructor for record class overrun.marshal.gen.processor.ProcessorType.Array
-
Creates an instance of a
Array
record class.
B
- BeforeInvokeProcessor - Class in overrun.marshal.gen.processor
-
Insert codes before invoking the downcall handle.
- BeforeInvokeProcessor.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- BeforeReturnProcessor - Class in overrun.marshal.gen.processor
-
Insert codes before returning the value.
- BeforeReturnProcessor.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- BOOLEAN - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
boolean
type - build() - Method in class overrun.marshal.LayoutBuilder
-
Returns the built memory layout.
- build() - Method in class overrun.marshal.LayoutBuilder.Struct
- Builtin type - Search tag in interface overrun.marshal.gen.processor.ProcessorType
- Section
- BYTE - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
byte
type - BYTE - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
byte
type - ByValue - Annotation Interface in overrun.marshal.struct
-
Returning-by-value structure
C
- cAddress(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
MemorySegment
. - cAddress(String, MemoryLayout) - Method in class overrun.marshal.LayoutBuilder
-
Adds
MemorySegment
with the target layout. - CanonicalType - Annotation Interface in overrun.marshal.gen
-
Marks a method or a parameter, as
DescriptorTransformer
will use the canonical layout mapped from the linker of the current operating system. - cArray(String, long, MemoryLayout) - Method in class overrun.marshal.LayoutBuilder
-
Adds an array with the given element layout.
- cBoolean(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
boolean
. - cByte(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
byte
. - cChar(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
char
. - CD_Arena - Static variable in class overrun.marshal.internal.Constants
-
CD_Arena
- CD_Charset - Static variable in class overrun.marshal.internal.Constants
-
CD_Charset
- CD_Checks - Static variable in class overrun.marshal.internal.Constants
-
CD_Checks
- CD_DowncallData - Static variable in class overrun.marshal.internal.Constants
-
CD_DowncallData
- CD_IllegalStateException - Static variable in class overrun.marshal.internal.Constants
-
CD_IllegalStateException
- CD_Marshal - Static variable in class overrun.marshal.internal.Constants
-
CD_Marshal
- CD_MemoryLayout$PathElement - Static variable in class overrun.marshal.internal.Constants
-
CD_MemoryLayout$PathElement
- CD_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
CD_MemorySegment
- CD_MemoryStack - Static variable in class overrun.marshal.internal.Constants
-
CD_MemoryStack
- CD_ProcessorType - Static variable in class overrun.marshal.internal.Constants
-
CD_ProcessorType
- CD_ProcessorType$Struct - Static variable in class overrun.marshal.internal.Constants
-
CD_ProcessorType$Struct
- CD_ProcessorType$Upcall - Static variable in class overrun.marshal.internal.Constants
-
CD_ProcessorType$Upcall
- CD_ProcessorType$Upcall$Factory - Static variable in class overrun.marshal.internal.Constants
-
CD_ProcessorType$Upcall$Factory
- CD_ProcessorTypes - Static variable in class overrun.marshal.internal.Constants
-
CD_ProcessorTypes
- CD_SegmentAllocator - Static variable in class overrun.marshal.internal.Constants
-
CD_SegmentAllocator
- CD_StandardCharsets - Static variable in class overrun.marshal.internal.Constants
-
CD_StandardCharsets
- CD_Struct - Static variable in class overrun.marshal.internal.Constants
-
CD_Struct
- CD_StructAllocatorSpec - Static variable in class overrun.marshal.internal.Constants
-
CD_StructAllocatorSpec
- CD_StructLayout - Static variable in class overrun.marshal.internal.Constants
-
CD_StructLayout
- CD_SymbolLookup - Static variable in class overrun.marshal.internal.Constants
-
CD_SymbolLookup
- CD_Unmarshal - Static variable in class overrun.marshal.internal.Constants
-
CD_Unmarshal
- CD_Upcall - Static variable in class overrun.marshal.internal.Constants
-
CD_Upcall
- cDouble(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
double
. - cFloat(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
float
. - CHAR - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
char
type - CHAR - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
char
type - charset() - Method in record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Returns the value of the
charset
record component. - charset() - Method in record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Returns the value of the
charset
record component. - charset() - Method in record class overrun.marshal.gen.processor.UnmarshalProcessor.Context
-
Returns the value of the
charset
record component. - CharsetProcessor - Class in overrun.marshal.gen.processor
-
Insert bytecode representing a charset instance.
- CHECK_ARRAY_SIZE - Static variable in class overrun.marshal.MarshalConfigs
-
Check the size of a fixed size array argument.
- checkAllocator() - Method in class overrun.marshal.gen.processor.ProcessorType.Struct
-
Returns the allocator.
- checkArraySize(long, int) - Static method in class overrun.marshal.Checks
-
Checks the array size.
- checkFactory() - Method in class overrun.marshal.gen.processor.ProcessorType.Upcall
-
Returns the factory.
- CheckProcessor - Class in overrun.marshal.gen.processor
-
Insert check methods at the beginning of the method body.
- CheckProcessor.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- Checks - Class in overrun.marshal
-
Checks
- cInt(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
int
. - clazz() - Method in record class overrun.marshal.internal.DowncallOptions.SkipClass
-
Returns the value of the
clazz
record component. - cLong(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
long
. - CodeInserter<T> - Class in overrun.marshal.gen.processor
-
Code inserters insert codes at a given position.
- CodeInserter() - Constructor for class overrun.marshal.gen.processor.CodeInserter
-
constructor
- componentType() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
-
Returns the value of the
componentType
record component. - Constants - Class in overrun.marshal.internal
-
Constant descriptors
- Context(boolean) - Constructor for record class overrun.marshal.gen.processor.BeforeReturnProcessor.Context
-
Creates an instance of a
Context
record class. - Context(int, int, String) - Constructor for record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Creates an instance of a
Context
record class. - Context(int, int, String) - Constructor for record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Creates an instance of a
Context
record class. - Context(Class<?>, int, String) - Constructor for record class overrun.marshal.gen.processor.UnmarshalProcessor.Context
-
Creates an instance of a
Context
record class. - Context(Method, boolean, List<Parameter>) - Constructor for record class overrun.marshal.gen.processor.DescriptorTransformer.Context
-
Creates an instance of a
Context
record class. - Context(List<Parameter>) - Constructor for record class overrun.marshal.gen.processor.CheckProcessor.Context
-
Creates an instance of a
Context
record class. - Context(List<Parameter>, Map<Parameter, Integer>) - Constructor for record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Creates an instance of a
Context
record class. - Context(List<Parameter>, Map<Parameter, Integer>, int) - Constructor for record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Creates an instance of a
Context
record class. - Convert - Annotation Interface in overrun.marshal.gen
-
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 toboolean
. - copy(MemorySegment, boolean[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, byte[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, char[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, double[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, float[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, int[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, long[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, short[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, MemorySegment[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, String[]) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- copy(MemorySegment, String[], Charset) - Static method in class overrun.marshal.Unmarshal
-
Copies from the given segment to the destination.
- create(MemorySegment) - Method in interface overrun.marshal.gen.processor.ProcessorType.Upcall.Factory
-
Creates an upcall instance with the given stub.
- Critical - Annotation Interface in overrun.marshal.gen
-
Marks a method that invokes a critical function.
- cShort(String) - Method in class overrun.marshal.LayoutBuilder
-
Adds
short
. - cStruct(String, StructLayout) - Method in class overrun.marshal.LayoutBuilder
-
Adds a struct.
- CType - Annotation Interface in overrun.marshal.gen
-
This marker annotation is for methods and parameters to mark the native type of them.
- Custom Function Descriptors - Search tag in class overrun.marshal.Downcall
- Section
- Custom Method Handles - Search tag in class overrun.marshal.Downcall
- Section
- Custom type - Search tag in interface overrun.marshal.gen.processor.ProcessorType
- Section
D
- DCD_classData_DowncallData - Static variable in class overrun.marshal.internal.Constants
-
DCD_classData_DowncallData
- DCD_classData_StructLayout - Static variable in class overrun.marshal.internal.Constants
-
DCD_classData_StructLayout
- Defining structure layout - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- descriptor() - Method in class overrun.marshal.Upcall.Type
-
Returns the descriptor of this type.
- descriptorMap() - Method in record class overrun.marshal.internal.data.DowncallData
-
Returns the value of the
descriptorMap
record component. - descriptorMap() - Method in record class overrun.marshal.internal.DowncallOptions.Descriptors
-
Returns the value of the
descriptorMap
record component. - descriptors(Map<String, FunctionDescriptor>) - Static method in interface overrun.marshal.DowncallOption
-
Specifies the custom function descriptors.
- Descriptors(Map<String, FunctionDescriptor>) - Constructor for record class overrun.marshal.internal.DowncallOptions.Descriptors
-
Creates an instance of a
Descriptors
record class. - descriptorSkipFirstParameter() - Method in record class overrun.marshal.gen.processor.DescriptorTransformer.Context
-
Returns the value of the
descriptorSkipFirstParameter
record component. - DescriptorTransformer - Class in overrun.marshal.gen.processor
-
Transforms the method and parameters into a function descriptor.
- DescriptorTransformer.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- DirectAccess - Interface in overrun.marshal
-
This interface provides access to function descriptors and method handles for each function that is loaded by
Downcall
. - Direct Access - Search tag in class overrun.marshal.Downcall
- Section
- DOUBLE - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
double
type - DOUBLE - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
double
type - downcall(MemorySegment) - Method in class overrun.marshal.Upcall.Type
-
Creates a downcall handle with the given upcall stub segment and this type.
- Downcall - Class in overrun.marshal
-
Downcall library loader.
- downcallClassDesc() - Method in class overrun.marshal.gen.processor.ProcessorType.Allocator
- downcallClassDesc() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
- downcallClassDesc() - Method in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
- downcallClassDesc() - Method in interface overrun.marshal.gen.processor.ProcessorType
-
Returns the class desc for method handles (functions in C).
- downcallClassDesc() - Method in class overrun.marshal.gen.processor.ProcessorType.Str
- downcallClassDesc() - Method in class overrun.marshal.gen.processor.ProcessorType.Struct
- downcallClassDesc() - Method in class overrun.marshal.gen.processor.ProcessorType.Upcall
- downcallClassDesc() - Method in enum class overrun.marshal.gen.processor.ProcessorType.Value
- downcallClassDesc() - Method in class overrun.marshal.gen.processor.ProcessorType.Void
- DowncallData - Record Class in overrun.marshal.internal.data
-
Downcall class data
- DowncallData(Map<String, FunctionDescriptor>, Map<String, MethodHandle>, SymbolLookup) - Constructor for record class overrun.marshal.internal.data.DowncallData
-
Creates an instance of a
DowncallData
record class. - downcallLayout() - Method in class overrun.marshal.gen.processor.ProcessorType.Allocator
- downcallLayout() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
- downcallLayout() - Method in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
- downcallLayout() - Method in interface overrun.marshal.gen.processor.ProcessorType
-
Returns the memory layout for functions in C.
- downcallLayout() - Method in class overrun.marshal.gen.processor.ProcessorType.Str
- downcallLayout() - Method in class overrun.marshal.gen.processor.ProcessorType.Struct
- downcallLayout() - Method in class overrun.marshal.gen.processor.ProcessorType.Upcall
- downcallLayout() - Method in enum class overrun.marshal.gen.processor.ProcessorType.Value
- downcallLayout() - Method in class overrun.marshal.gen.processor.ProcessorType.Void
- DowncallOption - Interface in overrun.marshal
-
Downcall option.
- DowncallOptions - Class in overrun.marshal.internal
-
Downcall options.
- DowncallOptions.Descriptors - Record Class in overrun.marshal.internal
-
specify custom function descriptors
- DowncallOptions.SkipClass - Record Class in overrun.marshal.internal
-
specify a class to skip
- DowncallOptions.TargetClass - Record Class in overrun.marshal.internal
-
specify target class
- DowncallOptions.Transform - Record Class in overrun.marshal.internal
-
specify method handle transform
- downcallTarget() - Method in class overrun.marshal.Upcall.Type
-
Returns the downcall method handle.
- dstArraySlot() - Method in record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Returns the value of the
dstArraySlot
record component.
E
- elementCount() - Method in interface overrun.marshal.struct.Struct
-
Returns the element count of this struct buffer.
- Entrypoint - Annotation Interface in overrun.marshal.gen
-
Specifies the entrypoint of a method.
- equals(Object) - Method in record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.BeforeReturnProcessor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.CheckProcessor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.DescriptorTransformer.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.processor.UnmarshalProcessor.Context
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.internal.data.DowncallData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.internal.DowncallOptions.Descriptors
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.internal.DowncallOptions.SkipClass
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.internal.DowncallOptions.TargetClass
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.internal.DowncallOptions.Transform
-
Indicates whether some other object is "equal to" this one.
- estimateCount(MemorySegment, StructLayout) - Static method in interface overrun.marshal.struct.Struct
-
Estimates the struct count of the given segment.
- Example - Search tag in annotation interface overrun.marshal.gen.CType
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.CanonicalType
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.Convert
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.Critical
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.Entrypoint
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.Ref
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.Sized
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.Skip
- Section
- Example - Search tag in annotation interface overrun.marshal.gen.StrCharset
- Section
- Example - Search tag in annotation interface overrun.marshal.struct.ByValue
- Section
- Example - Search tag in class overrun.marshal.Downcall
- Section
- Example - Search tag in class overrun.marshal.LayoutBuilder
- Section
- Example - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- Example - Search tag in interface overrun.marshal.Upcall
- Section
F
- factory() - Method in class overrun.marshal.gen.processor.ProcessorType.Upcall
-
Returns the factory.
- FLOAT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
float
type - FLOAT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
float
type - fromClass(Class<?>) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Get the processor type from the given class.
- fromMethod(Method) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Gets the processor type from the given method.
- fromParameter(Parameter) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Gets the processor type from the given parameter.
- functionDescriptors() - Method in interface overrun.marshal.DirectAccess
-
Returns an unmodifiable map of the function descriptors for each method.
G
- get() - Method in class overrun.marshal.MarshalConfigs.Entry
-
Returns the value of this entry.
- getCharset(AnnotatedElement) - Static method in class overrun.marshal.internal.StringCharset
-
Gets the charset from the given element
- getInstance() - Static method in class overrun.marshal.gen.processor.AfterInvokeProcessor
-
Returns the instance.
- getInstance() - Static method in class overrun.marshal.gen.processor.BeforeInvokeProcessor
-
Returns the instance.
- getInstance() - Static method in class overrun.marshal.gen.processor.BeforeReturnProcessor
-
Returns the instance.
- getInstance() - Static method in class overrun.marshal.gen.processor.CheckProcessor
-
Returns the instance.
- getInstance() - Static method in class overrun.marshal.gen.processor.DescriptorTransformer
-
Returns the instance.
- getInstance() - Static method in class overrun.marshal.gen.processor.MarshalProcessor
-
Returns the instance.
- getInstance() - Static method in class overrun.marshal.gen.processor.RefCopyProcessor
-
Returns the instance.
- getInstance() - Static method in class overrun.marshal.gen.processor.UnmarshalProcessor
-
Returns the instance.
- getThis() - Method in class overrun.marshal.LayoutBuilder
-
Returns this.
- getThis() - Method in class overrun.marshal.LayoutBuilder.Struct
H
- handleMap() - Method in record class overrun.marshal.internal.data.DowncallData
-
Returns the value of the
handleMap
record component. - hasCharset(StrCharset) - Static method in class overrun.marshal.internal.StringCharset
-
Checks the given annotation
- hashCode() - Method in record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.BeforeReturnProcessor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.CheckProcessor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.DescriptorTransformer.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.processor.UnmarshalProcessor.Context
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.internal.data.DowncallData
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.internal.DowncallOptions.Descriptors
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.internal.DowncallOptions.SkipClass
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.internal.DowncallOptions.TargetClass
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.internal.DowncallOptions.Transform
-
Returns a hash code value for this object.
- hasMemoryStack() - Method in record class overrun.marshal.gen.processor.BeforeReturnProcessor.Context
-
Returns the value of the
hasMemoryStack
record component.
I
- INSTANCE - Static variable in class overrun.marshal.gen.processor.ProcessorType.Allocator
-
The instance
- INSTANCE - Static variable in class overrun.marshal.gen.processor.ProcessorType.Str
-
The instance
- INSTANCE - Static variable in class overrun.marshal.gen.processor.ProcessorType.Void
-
The instance
- INT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
int
type - INT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
int
type - io.github.overrun.marshal - module io.github.overrun.marshal
-
The core module
- isNullPointer(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Returns
true
if the given segment is a null pointer;false
otherwise. - isRegistered(Class<?>) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Returns
true
if the given class is registered. - isRegisteredExactly(Class<?>) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Returns
true
if the given class is registered. - isStricter(AllocatorRequirement) - Method in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
Returns
true
if this requirement is stricter thanother
.
L
- layout() - Method in interface overrun.marshal.struct.Struct
-
Returns the layout of this struct.
- layout() - Method in class overrun.marshal.struct.StructAllocator
- layout() - Method in interface overrun.marshal.struct.StructAllocatorSpec
-
Returns the layout of this struct.
- LayoutBuilder<L,
T> - Class in overrun.marshal -
A layout builder that automatically aligns memory layouts.
- LayoutBuilder() - Constructor for class overrun.marshal.LayoutBuilder
-
the constructor
- LayoutBuilder.Struct - Class in overrun.marshal
-
The struct layout builder that aligns memory layouts with the C structure alignment.
- layouts - Variable in class overrun.marshal.LayoutBuilder
-
Pending layouts
- load(MethodHandles.Lookup, SymbolLookup, DowncallOption...) - Static method in class overrun.marshal.Downcall
-
Loads a class with the given symbol lookup and options.
- load(MethodHandles.Lookup, String, DowncallOption...) - Static method in class overrun.marshal.Downcall
-
Loads a class with the given library name and options using
SymbolLookup::libraryLookup
RESTRICTED. - Loading native library - Search tag in class overrun.marshal.Downcall
- Section
- LONG - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
long
type - LONG - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
long
type
M
- marshal(A, T[], BiFunction<A, T, MemorySegment>) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(Arena, Upcall) - Static method in class overrun.marshal.Marshal
-
Converts the given upcall to a segment.
- marshal(Arena, Upcall[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, boolean[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, byte[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, char[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, double[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, float[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, int[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, long[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, short[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, String) - Static method in class overrun.marshal.Marshal
-
Converts the given string to a segment.
- marshal(SegmentAllocator, String, Charset) - Static method in class overrun.marshal.Marshal
-
Converts the given string to a segment.
- marshal(SegmentAllocator, MemorySegment[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, String[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, String[], Charset) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(SegmentAllocator, Struct<?>[]) - Static method in class overrun.marshal.Marshal
-
Converts the given array to a segment.
- marshal(Struct<?>) - Static method in class overrun.marshal.Marshal
-
Converts the given struct to a segment.
- Marshal - Class in overrun.marshal
-
Java-to-C helper.
- marshalAsByte(boolean) - Static method in class overrun.marshal.Marshal
-
Converts the
boolean
value to another type. - marshalAsChar(boolean) - Static method in class overrun.marshal.Marshal
-
Converts the
boolean
value to another type. - marshalAsDouble(boolean) - Static method in class overrun.marshal.Marshal
-
Converts the
boolean
value to another type. - marshalAsFloat(boolean) - Static method in class overrun.marshal.Marshal
-
Converts the
boolean
value to another type. - marshalAsInt(boolean) - Static method in class overrun.marshal.Marshal
-
Converts the
boolean
value to another type. - marshalAsLong(boolean) - Static method in class overrun.marshal.Marshal
-
Converts the
boolean
value to another type. - marshalAsShort(boolean) - Static method in class overrun.marshal.Marshal
-
Converts the
boolean
value to another type. - MarshalConfigs - Class in overrun.marshal
-
Configurations
- MarshalConfigs.Entry<T> - Class in overrun.marshal
-
A check entry
- MarshalProcessor - Class in overrun.marshal.gen.processor
-
Insert marshal (Java-to-C) method.
- MarshalProcessor.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- Memory segment - Search tag in annotation interface overrun.marshal.gen.Sized
- Section
- method() - Method in record class overrun.marshal.gen.processor.DescriptorTransformer.Context
-
Returns the value of the
method
record component. - methodHandle(String) - Method in interface overrun.marshal.DirectAccess
-
Gets the method handle with the given entrypoint name.
- methodHandles() - Method in interface overrun.marshal.DirectAccess
-
Returns an unmodifiable map of the method handles for each method.
- Methods - Search tag in class overrun.marshal.Downcall
- Section
- MTD_boolean_byte - Static variable in class overrun.marshal.internal.Constants
-
MTD_boolean_byte
- MTD_boolean_char - Static variable in class overrun.marshal.internal.Constants
-
MTD_boolean_char
- MTD_boolean_double - Static variable in class overrun.marshal.internal.Constants
-
MTD_boolean_double
- MTD_boolean_float - Static variable in class overrun.marshal.internal.Constants
-
MTD_boolean_float
- MTD_boolean_int - Static variable in class overrun.marshal.internal.Constants
-
MTD_boolean_int
- MTD_boolean_long - Static variable in class overrun.marshal.internal.Constants
-
MTD_boolean_long
- MTD_boolean_short - Static variable in class overrun.marshal.internal.Constants
-
MTD_boolean_short
- MTD_booleanArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_booleanArray_MemorySegment
- MTD_byte_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_byte_boolean
- MTD_byteArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_byteArray_MemorySegment
- MTD_char_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_char_boolean
- MTD_charArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_charArray_MemorySegment
- MTD_Charset_String - Static variable in class overrun.marshal.internal.Constants
-
MTD_Charset_String
- MTD_double_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_double_boolean
- MTD_doubleArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_doubleArray_MemorySegment
- MTD_float_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_float_boolean
- MTD_floatArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_floatArray_MemorySegment
- MTD_int_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_int_boolean
- MTD_intArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_intArray_MemorySegment
- MTD_long - Static variable in class overrun.marshal.internal.Constants
-
MTD_long
- MTD_long_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_long_boolean
- MTD_long_long_long - Static variable in class overrun.marshal.internal.Constants
-
MTD_long_long_long
- MTD_longArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_longArray_MemorySegment
- MTD_Map - Static variable in class overrun.marshal.internal.Constants
-
MTD_Map
- MTD_MemoryLayout$PathElement - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemoryLayout$PathElement
- MTD_MemoryLayout$PathElement_String - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemoryLayout$PathElement_String
- MTD_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment
- MTD_MemorySegment_Arena_Upcall - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_Arena_Upcall
- MTD_MemorySegment_Arena_UpcallArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_Arena_UpcallArray
- MTD_MemorySegment_long_long_long - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_long_long_long
- MTD_MemorySegment_SegmentAllocator_booleanArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_booleanArray
- MTD_MemorySegment_SegmentAllocator_byteArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_byteArray
- MTD_MemorySegment_SegmentAllocator_charArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_charArray
- MTD_MemorySegment_SegmentAllocator_doubleArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_doubleArray
- MTD_MemorySegment_SegmentAllocator_floatArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_floatArray
- MTD_MemorySegment_SegmentAllocator_intArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_intArray
- MTD_MemorySegment_SegmentAllocator_longArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_longArray
- MTD_MemorySegment_SegmentAllocator_MemorySegmentArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_MemorySegmentArray
- MTD_MemorySegment_SegmentAllocator_shortArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_shortArray
- MTD_MemorySegment_SegmentAllocator_String - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_String
- MTD_MemorySegment_SegmentAllocator_String_Charset - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_String_Charset
- MTD_MemorySegment_SegmentAllocator_StringArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_StringArray
- MTD_MemorySegment_SegmentAllocator_StringArray_Charset - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_StringArray_Charset
- MTD_MemorySegment_SegmentAllocator_StructArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_SegmentAllocator_Struct
- MTD_MemorySegment_Struct - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegment_Struct
- MTD_MemorySegmentArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemorySegmentArray_MemorySegment
- MTD_MemoryStack - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemoryStack
- MTD_Object_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_Object_MemorySegment
- MTD_Object_Object - Static variable in class overrun.marshal.internal.Constants
-
MTD_Object_Object
- MTD_ProcessorType_Class - Static variable in class overrun.marshal.internal.Constants
-
MTD_ProcessorType_Class
- MTD_ProcessorType$Upcall$Factory - Static variable in class overrun.marshal.internal.Constants
-
MTD_ProcessorType$Upcall$Factory
- MTD_short_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_short_boolean
- MTD_shortArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_shortArray_MemorySegment
- MTD_String_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_String_MemorySegment
- MTD_String_MemorySegment_Charset - Static variable in class overrun.marshal.internal.Constants
-
MTD_String_MemorySegment_Charset
- MTD_StringArray_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_StringArray_MemorySegment
- MTD_StringArray_MemorySegment_Charset - Static variable in class overrun.marshal.internal.Constants
-
MTD_StringArray_MemorySegment_Charset
- MTD_StructAllocatorSpec - Static variable in class overrun.marshal.internal.Constants
-
MTD_StructAllocatorSpec
- MTD_StructLayout - Static variable in class overrun.marshal.internal.Constants
-
MTD_StructLayout
- MTD_SymbolLookup - Static variable in class overrun.marshal.internal.Constants
-
MTD_SymbolLookup
- MTD_Upcall_MemorySegment - Static variable in class overrun.marshal.internal.Constants
-
MTD_Upcall_MemorySegment
- MTD_VarHandle_MemoryLayout$PathElementArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_VarHandle_MemoryLayout$PathElementArray
- MTD_void_long_int - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_long_int
- MTD_void_MemorySegment_booleanArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_booleanArray
- MTD_void_MemorySegment_byteArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_byteArray
- MTD_void_MemorySegment_charArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_charArray
- MTD_void_MemorySegment_doubleArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_doubleArray
- MTD_void_MemorySegment_floatArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_floatArray
- MTD_void_MemorySegment_intArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_intArray
- MTD_void_MemorySegment_long - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_long
- MTD_void_MemorySegment_longArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_longArray
- MTD_void_MemorySegment_MemorySegmentArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_MemorySegmentArray
- MTD_void_MemorySegment_shortArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_shortArray
- MTD_void_MemorySegment_StringArray - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_StringArray
- MTD_void_MemorySegment_StringArray_Charset - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_MemorySegment_StringArray_Charset
- MTD_void_String_Throwable - Static variable in class overrun.marshal.internal.Constants
-
MTD_void_String_Throwable
N
- Nested structures - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- noAllocatorException(Class<?>) - Static method in class overrun.marshal.gen.processor.ProcessorType.Struct
-
Returns an exception with "No allocator" message.
- noFactoryException(Class<?>) - Static method in class overrun.marshal.gen.processor.ProcessorType.Upcall
-
Returns an exception with "No factory" message.
- NONE - Enum constant in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
No allocator required
- nullptr() - Method in class overrun.marshal.struct.StructAllocator
-
Returns the instance of this struct modelling
NULL
address.
O
- of(Arena, T) - Method in class overrun.marshal.Upcall.Type
-
Creates an upcall stub with the given upcall implementation.
- of(MemorySegment) - Method in class overrun.marshal.struct.StructAllocator
- of(MemorySegment) - Method in interface overrun.marshal.struct.StructAllocatorSpec
-
Creates a struct with the given segment.
- of(MemorySegment, long) - Method in class overrun.marshal.struct.StructAllocator
-
Creates a struct with the given segment and count.
- of(SegmentAllocator) - Method in class overrun.marshal.struct.StructAllocator
-
Allocates a struct with the given allocator.
- of(SegmentAllocator, long) - Method in class overrun.marshal.struct.StructAllocator
-
Allocates a struct with the given allocator and count.
- operator() - Method in record class overrun.marshal.internal.DowncallOptions.Transform
-
Returns the value of the
operator
record component. - originalType() - Method in record class overrun.marshal.gen.processor.UnmarshalProcessor.Context
-
Returns the value of the
originalType
record component. - overrun.marshal - package overrun.marshal
-
The main package of marshal.
- overrun.marshal.gen - package overrun.marshal.gen
- overrun.marshal.gen.processor - package overrun.marshal.gen.processor
- overrun.marshal.internal - package overrun.marshal.internal
- overrun.marshal.internal.data - package overrun.marshal.internal.data
- overrun.marshal.struct - package overrun.marshal.struct
P
- parameters() - Method in record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Returns the value of the
parameters
record component. - parameters() - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Returns the value of the
parameters
record component. - parameters() - Method in record class overrun.marshal.gen.processor.CheckProcessor.Context
-
Returns the value of the
parameters
record component. - parameters() - Method in record class overrun.marshal.gen.processor.DescriptorTransformer.Context
-
Returns the value of the
parameters
record component. - Passing-by-value structure - Search tag in annotation interface overrun.marshal.struct.ByValue
- Section
- process(CodeBuilder, String) - Static method in class overrun.marshal.gen.processor.CharsetProcessor
-
Insert bytecode representing a charset instance of the given charset name.
- process(CodeBuilder, AfterInvokeProcessor.Context) - Method in class overrun.marshal.gen.processor.AfterInvokeProcessor
- process(CodeBuilder, BeforeInvokeProcessor.Context) - Method in class overrun.marshal.gen.processor.BeforeInvokeProcessor
- process(CodeBuilder, BeforeReturnProcessor.Context) - Method in class overrun.marshal.gen.processor.BeforeReturnProcessor
- process(CodeBuilder, CheckProcessor.Context) - Method in class overrun.marshal.gen.processor.CheckProcessor
- process(CodeBuilder, ProcessorType, MarshalProcessor.Context) - Method in class overrun.marshal.gen.processor.MarshalProcessor
- process(CodeBuilder, ProcessorType, RefCopyProcessor.Context) - Method in class overrun.marshal.gen.processor.RefCopyProcessor
- process(CodeBuilder, ProcessorType, UnmarshalProcessor.Context) - Method in class overrun.marshal.gen.processor.UnmarshalProcessor
- process(CodeBuilder, ProcessorType, T) - Method in class overrun.marshal.gen.processor.TypedCodeProcessor
-
Runs alternative processors.
- process(CodeBuilder, T) - Method in class overrun.marshal.gen.processor.CodeInserter
-
Sequentially runs all alternative processors.
- process(DescriptorTransformer.Context) - Method in class overrun.marshal.gen.processor.DescriptorTransformer
- process(T) - Method in class overrun.marshal.gen.processor.TypeTransformer
-
Runs alternative processors.
- Processor<T> - Interface in overrun.marshal.gen.processor
-
Processors are used to indicate how to process a value in
Downcall
. - ProcessorType - Interface in overrun.marshal.gen.processor
-
Processor types are used to remember the type of value to be processed in
Processor
. - ProcessorType.Allocator - Class in overrun.marshal.gen.processor
- ProcessorType.Array - Record Class in overrun.marshal.gen.processor
-
Array type
- ProcessorType.BoolConvert - Enum Class in overrun.marshal.gen.processor
-
Primitive types that are convertible with
boolean
. - ProcessorType.Custom - Interface in overrun.marshal.gen.processor
-
General superinterface of custom processor types
- ProcessorType.Str - Class in overrun.marshal.gen.processor
- ProcessorType.Struct - Class in overrun.marshal.gen.processor
- ProcessorType.Upcall<T> - Class in overrun.marshal.gen.processor
- ProcessorType.Upcall.Factory<T> - Interface in overrun.marshal.gen.processor
-
A factory that creates the upcall instance with a given upcall stub.
- ProcessorType.Value - Enum Class in overrun.marshal.gen.processor
-
Primitive types, including
MemorySegment
- ProcessorType.Void - Class in overrun.marshal.gen.processor
-
void
type - ProcessorTypes - Class in overrun.marshal.gen.processor
-
This class stores a map of processor types.
- Processor Types - Search tag in class overrun.marshal.Downcall
- Section
R
- Ref - Annotation Interface in overrun.marshal.gen
-
Marks a parameter as an array type that reads the result from the native code.
- RefCopyProcessor - Class in overrun.marshal.gen.processor
-
Insert code to copy from a segment to an array.
- RefCopyProcessor.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- refSlotMap() - Method in record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Returns the value of the
refSlotMap
record component. - refSlotMap() - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Returns the value of the
refSlotMap
record component. - register(Class<?>, ProcessorType) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Registers a processor type for the given class.
- registerStruct(Class<?>, StructAllocatorSpec<?>) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Registers a processor type for the given struct class.
- registerUpcall(Class<T>, ProcessorType.Upcall.Factory<T>) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Registers a processor type for the given upcall class.
- Returning-by-value structure - Search tag in annotation interface overrun.marshal.struct.ByValue
- Section
S
- segment() - Method in interface overrun.marshal.struct.Struct
-
Returns the segment of this struct.
- sequenceLayout() - Method in interface overrun.marshal.struct.Struct
-
Returns the sequence layout of this struct buffer.
- set(T) - Method in class overrun.marshal.MarshalConfigs.Entry
-
Sets the value
- SHORT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
short
type - SHORT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
short
type - Sized - Annotation Interface in overrun.marshal.gen
-
Array
- Sized-array - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- Skip - Annotation Interface in overrun.marshal.gen
-
Skips generating a marked method.
- skipClass(Class<?>) - Static method in interface overrun.marshal.DowncallOption
-
Adds a class to skip.
- SkipClass(Class<?>) - Constructor for record class overrun.marshal.internal.DowncallOptions.SkipClass
-
Creates an instance of a
SkipClass
record class. - Skipping - Search tag in class overrun.marshal.Downcall
- Section
- slice(long) - Method in interface overrun.marshal.struct.Struct
-
Makes a slice of this structure with the given index.
- slice(long, long) - Method in interface overrun.marshal.struct.Struct
-
Makes a slice of this structure starts at the given index.
- Slices - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- srcSegmentSlot() - Method in record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Returns the value of the
srcSegmentSlot
record component. - STACK - Enum constant in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
No allocator required; memory stack can be implicitly used
- STR_LAYOUT - Static variable in class overrun.marshal.Unmarshal
-
The address layout which dereferences a string with the max size.
- STR_SIZE - Static variable in class overrun.marshal.Unmarshal
-
The max string size.
- StrCharset - Annotation Interface in overrun.marshal.gen
-
Sets the charset of a string type.
- stricter(AllocatorRequirement, AllocatorRequirement) - Static method in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
Returns the stricter allocator requirement between
first
andsecond
. - StringCharset - Class in overrun.marshal.internal
-
String charsets
- struct() - Static method in class overrun.marshal.LayoutBuilder
-
Returns the struct layout builder.
- struct(Class<?>, StructAllocatorSpec<?>) - Static method in interface overrun.marshal.gen.processor.ProcessorType
-
Creates a struct processor type with the given type class and struct allocator.
- Struct<T> - Interface in overrun.marshal.struct
-
The representation of a C structure.
- Struct() - Constructor for class overrun.marshal.LayoutBuilder.Struct
-
the constructor
- StructAllocator<T> - Class in overrun.marshal.struct
-
C structure allocator.
- StructAllocator(MethodHandles.Lookup, StructLayout) - Constructor for class overrun.marshal.struct.StructAllocator
-
the constructor
- StructAllocatorSpec<T> - Interface in overrun.marshal.struct
-
Specification of
StructAllocator
. - Struct implementation - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- stub(Arena) - Method in interface overrun.marshal.Upcall
-
Creates an upcall stub.
- symbolLookup() - Method in interface overrun.marshal.DirectAccess
-
Returns the symbol lookup of this library.
- symbolLookup() - Method in record class overrun.marshal.internal.data.DowncallData
-
Returns the value of the
symbolLookup
record component.
T
- targetClass(Class<?>) - Static method in interface overrun.marshal.DowncallOption
-
Specifies the target class.
- TargetClass(Class<?>) - Constructor for record class overrun.marshal.internal.DowncallOptions.TargetClass
-
Creates an instance of a
TargetClass
record class. - toString() - Method in record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.gen.processor.BeforeReturnProcessor.Context
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.gen.processor.CheckProcessor.Context
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.gen.processor.DescriptorTransformer.Context
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Returns a string representation of this record class.
- toString() - Method in class overrun.marshal.gen.processor.ProcessorType.Allocator
- toString() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
-
Returns a string representation of this record class.
- toString() - Method in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
- toString() - Method in class overrun.marshal.gen.processor.ProcessorType.Str
- toString() - Method in class overrun.marshal.gen.processor.ProcessorType.Struct
- toString() - Method in class overrun.marshal.gen.processor.ProcessorType.Upcall
- toString() - Method in enum class overrun.marshal.gen.processor.ProcessorType.Value
- toString() - Method in class overrun.marshal.gen.processor.ProcessorType.Void
- toString() - Method in record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.gen.processor.UnmarshalProcessor.Context
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.internal.data.DowncallData
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.internal.DowncallOptions.Descriptors
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.internal.DowncallOptions.SkipClass
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.internal.DowncallOptions.TargetClass
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.internal.DowncallOptions.Transform
-
Returns a string representation of this record class.
- transform(UnaryOperator<MethodHandle>) - Static method in interface overrun.marshal.DowncallOption
-
Specifies the method handle transformer.
- Transform(UnaryOperator<MethodHandle>) - Constructor for record class overrun.marshal.internal.DowncallOptions.Transform
-
Creates an instance of a
Transform
record class. - type(Class<T>, String, FunctionDescriptor) - Static method in interface overrun.marshal.Upcall
-
Creates
Upcall.Type
. - type(String, FunctionDescriptor) - Static method in interface overrun.marshal.Upcall
-
Creates
Upcall.Type
with the caller class. - typeClass() - Method in class overrun.marshal.gen.processor.ProcessorType.Struct
-
Returns the type of the struct.
- typeClass() - Method in class overrun.marshal.gen.processor.ProcessorType.Upcall
-
Returns the type of the upcall.
- TypedCodeProcessor<T> - Class in overrun.marshal.gen.processor
-
Typed code processors process a given type and consumes a value to insert code.
- TypedCodeProcessor() - Constructor for class overrun.marshal.gen.processor.TypedCodeProcessor
-
constructor
- typeKind() - Method in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
Returns the type kind of this type.
- typeKind() - Method in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
Returns the type kind of this type.
- TypeTransformer<T,
R> - Class in overrun.marshal.gen.processor -
Type transformers transforms the given context to a specific type.
- TypeTransformer() - Constructor for class overrun.marshal.gen.processor.TypeTransformer
-
constructor
U
- unboundString(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as a string.
- unboundString(MemorySegment, Charset) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as a string.
- unmarshal(AddressLayout, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(MemoryLayout, MemorySegment, IntFunction<T[]>, Function<MemorySegment, T>) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfBoolean, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfByte, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfChar, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfDouble, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfFloat, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfInt, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfLong, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshal(ValueLayout.OfShort, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- Unmarshal - Class in overrun.marshal
-
C-to-Java helper.
- unmarshalAsAddressArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsBoolean(byte) - Static method in class overrun.marshal.Unmarshal
-
Converts the given value to
boolean
. - unmarshalAsBoolean(char) - Static method in class overrun.marshal.Unmarshal
-
Converts the given value to
boolean
. - unmarshalAsBoolean(double) - Static method in class overrun.marshal.Unmarshal
-
Converts the given value to
boolean
. - unmarshalAsBoolean(float) - Static method in class overrun.marshal.Unmarshal
-
Converts the given value to
boolean
. - unmarshalAsBoolean(int) - Static method in class overrun.marshal.Unmarshal
-
Converts the given value to
boolean
. - unmarshalAsBoolean(long) - Static method in class overrun.marshal.Unmarshal
-
Converts the given value to
boolean
. - unmarshalAsBoolean(short) - Static method in class overrun.marshal.Unmarshal
-
Converts the given value to
boolean
. - unmarshalAsBooleanArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsByteArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsCharArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsDoubleArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsFloatArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsIntArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsLongArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsShortArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsString(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as a string.
- unmarshalAsString(MemorySegment, Charset) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as a string.
- unmarshalAsStringArray(AddressLayout, MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsStringArray(AddressLayout, MemorySegment, Charset) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsStringArray(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- unmarshalAsStringArray(MemorySegment, Charset) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as an array.
- UnmarshalProcessor - Class in overrun.marshal.gen.processor
-
Insert unmarshal (C-to-Java) method.
- UnmarshalProcessor.Context - Record Class in overrun.marshal.gen.processor
-
The context.
- unmarshalStringPointer(MemorySegment) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as a string.
- unmarshalStringPointer(MemorySegment, Charset) - Static method in class overrun.marshal.Unmarshal
-
Unmarshal the given segment as a string.
- unregister(Class<?>) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Unregisters the given class.
- upcall(Class<T>, ProcessorType.Upcall.Factory<T>) - Static method in interface overrun.marshal.gen.processor.ProcessorType
-
Creates an upcall processor type with the given type class and factory.
- Upcall - Interface in overrun.marshal
-
An upcall interface.
- Upcall.Type<T> - Class in overrun.marshal
-
The type wrapper of an upcall interface.
V
- value() - Element in annotation interface overrun.marshal.gen.CanonicalType
-
Returns the canonical type of the marked type.
- value() - Element in annotation interface overrun.marshal.gen.Convert
-
Returns the type to be converted.
- value() - Element in annotation interface overrun.marshal.gen.CType
-
Returns the native (C) type of the marked type.
- value() - Element in annotation interface overrun.marshal.gen.Entrypoint
-
Uses the specified entrypoint (the native name of the function), instead of the method name.
- value() - Element in annotation interface overrun.marshal.gen.Sized
-
Returns the size of the array.
- value() - Element in annotation interface overrun.marshal.gen.StrCharset
-
Returns the charset.
- valueOf(String) - Static method in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class overrun.marshal.gen.processor.AllocatorRequirement
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class overrun.marshal.gen.processor.ProcessorType.BoolConvert
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Values - Search tag in class overrun.marshal.struct.StructAllocator
- Section
- variableSlot() - Method in record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Returns the value of the
variableSlot
record component. - variableSlot() - Method in record class overrun.marshal.gen.processor.UnmarshalProcessor.Context
-
Returns the value of the
variableSlot
record component.
All Classes and Interfaces|All Packages|Constant Field Values