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(HandleTransformer<T>) - Method in class overrun.marshal.gen.processor.HandleTransformer
- 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 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
is required - allocatorRequirement() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns the allocation requirement.
- 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
is 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. - AsBool - Enum Class in overrun.marshal.gen
-
Primitive types that are convertible with
boolean
.
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.
- BOOL - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- BOOLEAN - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
boolean
type - BSM_DowncallFactory_createConvertedClassType - Static variable in class overrun.marshal.internal.Constants
-
BSM_DowncallFactory_createConvertedClassType
- BSM_DowncallFactory_createDowncallMethodParameter - Static variable in class overrun.marshal.internal.Constants
-
BSM_DowncallFactory_createDowncallMethodParameter
- BSM_DowncallFactory_createDowncallMethodType - Static variable in class overrun.marshal.internal.Constants
-
BSM_DowncallFactory_createDowncallMethodType
- BSM_DowncallFactory_downcallCallSite - Static variable in class overrun.marshal.internal.Constants
-
BSM_DowncallFactory_downcallCallSite
- BSM_DowncallFactory_downcallHandle - Static variable in class overrun.marshal.internal.Constants
-
BSM_DowncallFactory_downcallHandle
- 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.AsBool
-
byte
type - BYTE - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
byte
type - byValue() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns the value of the
byValue
record component. - byValue() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns
true
if return-by-value. - 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. - CanonicalLayouts - Class in overrun.marshal
-
Common C memory layouts obtained with
Linker.canonicalLayouts()
. - canonicalType() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns the value of the
canonicalType
record component. - canonicalType() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns value of
CanonicalType
. - 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_ConvertedClassType - Static variable in class overrun.marshal.internal.Constants
-
CD_ConvertedClassType
- CD_DirectAccessData - Static variable in class overrun.marshal.internal.Constants
-
CD_DirectAccessData
- CD_DowncallFactory - Static variable in class overrun.marshal.internal.Constants
-
CD_DowncallFactory
- CD_DowncallMethodParameter - Static variable in class overrun.marshal.internal.Constants
-
CD_DowncallMethodParameter
- CD_DowncallMethodType - Static variable in class overrun.marshal.internal.Constants
-
CD_DowncallMethodType
- 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_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_StructLayout - Static variable in class overrun.marshal.internal.Constants
-
CD_StructLayout
- 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.AsBool
-
char
type - CHAR - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
char
type - CHAR - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- charset() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns the value of the
charset
record component. - charset() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns value of
StrCharset
. - 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. - 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(int, int, String) - Constructor for record class overrun.marshal.gen.processor.RefCopyProcessor.Context
-
Creates an instance of a
Context
record class. - Context(int, int, String, Class<?>) - Constructor for record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Creates an instance of a
Context
record class. - Context(Class<?>, DowncallMethodType) - Constructor for record class overrun.marshal.gen.processor.ReturnValueTransformer.Context
-
Creates an instance of a
Context
record class. - Context(DowncallMethodType) - Constructor for record class overrun.marshal.gen.processor.CheckProcessor.Context
-
Creates an instance of a
Context
record class. - Context(DowncallMethodType, int[]) - Constructor for record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Creates an instance of a
Context
record class. - Context(DowncallMethodType, int[], 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
. - ConvertedClassType - Record Class in overrun.marshal.gen
-
Class with
Convert
information - ConvertedClassType(Class<?>, Class<?>) - Constructor for record class overrun.marshal.gen.ConvertedClassType
-
Creates an instance of a
ConvertedClassType
record class. - ConvertedClassType.Desc - Class in overrun.marshal.gen
-
The constant desc
- 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.
- createConvertedClassType(MethodHandles.Lookup, String, Class<?>, Class<?>, Class<?>) - Static method in class overrun.marshal.DowncallFactory
-
BSM for
ConvertedClassType
- createDowncallMethodParameter(MethodHandles.Lookup, String, Class<?>, ConvertedClassType, boolean, boolean, long, String, String) - Static method in class overrun.marshal.DowncallFactory
-
BSM for
DowncallMethodParameter
- createDowncallMethodType(MethodHandles.Lookup, String, Class<?>, ConvertedClassType, boolean, boolean, boolean, long, String, String, Object...) - Static method in class overrun.marshal.DowncallFactory
-
BSM for
DowncallMethodType
- critical() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns
true
if critical. - Critical - Annotation Interface in overrun.marshal.gen
-
Marks a method that invokes a critical function.
- criticalAllowHeapAccess() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns value of
Critical
. - 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_DirectAccessData - 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
- Desc(ClassDesc, ClassDesc) - Constructor for class overrun.marshal.gen.ConvertedClassType.Desc
-
constructor
- Desc(String, ConvertedClassType.Desc, DowncallMethodParameter[], boolean, boolean, boolean, long, String, String) - Constructor for class overrun.marshal.gen.DowncallMethodType.Desc
-
constructor
- Desc(ConvertedClassType.Desc, boolean, boolean, long, String, String) - Constructor for class overrun.marshal.gen.DowncallMethodParameter.Desc
-
constructor
- describeConstable() - Method in record class overrun.marshal.gen.ConvertedClassType
- describeConstable() - Method in record class overrun.marshal.gen.DowncallMethodParameter
- describeConstable() - Method in class overrun.marshal.gen.DowncallMethodType
- descriptor() - Method in class overrun.marshal.Upcall.Type
-
Returns the descriptor of this type.
- 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. - descriptorStartParameter() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns the first parameter of function descriptor.
- DescriptorTransformer - Class in overrun.marshal.gen.processor
-
Transforms the method and parameters into a function descriptor.
- 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
- directAccessData() - Method in interface overrun.marshal.DirectAccess
-
Returns the data of this access.
- DirectAccessData - Class in overrun.marshal
-
The data for
DirectAccess
. - DOUBLE - Enum constant in enum class overrun.marshal.gen.AsBool
-
double
type - DOUBLE - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
double
type - DOUBLE - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- 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.
- downcallCallSite(MethodHandles.Lookup, String, MethodType, DirectAccessData, DowncallMethodType, boolean) - Static method in class overrun.marshal.DowncallFactory
-
Creates a call site for the downcall method handle specified with the given entrypoint.
- downcallClass() - Method in record class overrun.marshal.gen.ConvertedClassType
-
Returns the value of the
downcallClass
record component. - downcallClass() - Method in record class overrun.marshal.gen.processor.MarshalProcessor.Context
-
Returns the value of the
downcallClass
record component. - downcallClassDesc() - Method in class overrun.marshal.gen.processor.ProcessorType.Allocator
- downcallClassDesc() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
- 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
- DowncallFactory - Class in overrun.marshal
-
The downcall factory creates method handle and call sites for the generated native function invoker.
- downcallHandle(MethodHandles.Lookup, String, Class<?>, DirectAccessData) - Static method in class overrun.marshal.DowncallFactory
-
Accesses downcall method handle with the given entrypoint.
- downcallLayout() - Method in class overrun.marshal.gen.processor.ProcessorType.Allocator
- downcallLayout() - Method in record class overrun.marshal.gen.processor.ProcessorType.Array
- 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
- DowncallMethodParameter - Record Class in overrun.marshal.gen
-
A parameter of a downcall method.
- DowncallMethodParameter(ConvertedClassType, boolean, boolean, long, String, String) - Constructor for record class overrun.marshal.gen.DowncallMethodParameter
-
Creates an instance of a
DowncallMethodParameter
record class. - DowncallMethodParameter.Desc - Class in overrun.marshal.gen
-
The constant desc
- downcallMethodType() - Method in record class overrun.marshal.gen.processor.ReturnValueTransformer.Context
-
Returns the value of the
downcallMethodType
record component. - DowncallMethodType - Class in overrun.marshal.gen
-
The method type of downcall method.
- DowncallMethodType(String, ConvertedClassType, DowncallMethodParameter[], boolean, boolean, boolean, long, String, String) - Constructor for class overrun.marshal.gen.DowncallMethodType
-
constructor
- DowncallMethodType.Desc - Class in overrun.marshal.gen
-
The constant desc.
- 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() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns the entrypoint.
- Entrypoint - Annotation Interface in overrun.marshal.gen
-
Specifies the entrypoint of a method.
- equals(Object) - Method in record class overrun.marshal.gen.ConvertedClassType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Indicates whether some other object is "equal to" this one.
- 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.CheckProcessor.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.ReturnValueTransformer.Context
-
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.AsBool
-
float
type - FLOAT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
float
type - FLOAT - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- fromClass(Class<?>) - Static method in class overrun.marshal.gen.processor.ProcessorTypes
-
Get the processor type from the given class.
- functionDescriptors() - Method in class overrun.marshal.DirectAccessData
-
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.
- get(String) - Static method in class overrun.marshal.CanonicalLayouts
-
Gets the layout from
Linker.canonicalLayouts()
with the given name. - 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.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.ReturnValueTransformer
-
Returns the instance.
- getThis() - Method in class overrun.marshal.LayoutBuilder
-
Returns this.
- getThis() - Method in class overrun.marshal.LayoutBuilder.Struct
H
- HandleTransformer<T> - Class in overrun.marshal.gen.processor
-
Handle transformers process a method handle with a given context.
- HandleTransformer() - Constructor for class overrun.marshal.gen.processor.HandleTransformer
-
constructor
- hashCode() - Method in record class overrun.marshal.gen.ConvertedClassType
-
Returns a hash code value for this object.
- hashCode() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns a hash code value for this object.
- 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.CheckProcessor.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.ReturnValueTransformer.Context
-
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.
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.AsBool
-
int
type - INT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
int
type - INT - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- invocationStartParameter() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns the first parameter of
invokedynamic
in Downcall. - 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
.
J
- javaClass() - Method in enum class overrun.marshal.gen.AsBool
-
Returns the class of this type.
- javaClass() - Method in record class overrun.marshal.gen.ConvertedClassType
-
Returns the value of the
javaClass
record component.
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.AsBool
-
long
type - LONG - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
long
type - LONG - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- LONG_LONG - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
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
- methodHandle(String) - Method in class overrun.marshal.DirectAccessData
-
Gets or loads a method handle with the given entrypoint.
- Methods - Search tag in class overrun.marshal.Downcall
- Section
- methodType() - Method in record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Returns the value of the
methodType
record component. - methodType() - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Returns the value of the
methodType
record component. - methodType() - Method in record class overrun.marshal.gen.processor.CheckProcessor.Context
-
Returns the value of the
methodType
record component. - MTD_byte_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_byte_boolean
- MTD_char_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_char_boolean
- MTD_Charset_String - Static variable in class overrun.marshal.internal.Constants
-
MTD_Charset_String
- MTD_DirectAccessData - Static variable in class overrun.marshal.internal.Constants
-
MTD_DirectAccessData
- MTD_double_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_double_boolean
- MTD_float_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_float_boolean
- MTD_int_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_int_boolean
- 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_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_MemoryStack - Static variable in class overrun.marshal.internal.Constants
-
MTD_MemoryStack
- MTD_short_boolean - Static variable in class overrun.marshal.internal.Constants
-
MTD_short_boolean
- MTD_StructLayout - Static variable in class overrun.marshal.internal.Constants
-
MTD_StructLayout
- 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
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 is 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.
- of(Method) - Static method in class overrun.marshal.gen.DowncallMethodType
-
Creates a downcall method type with the given method.
- of(Parameter) - Static method in record class overrun.marshal.gen.DowncallMethodParameter
-
Creates a downcall method parameter from the given parameter.
- operator() - Method in record class overrun.marshal.internal.DowncallOptions.Transform
-
Returns the value of the
operator
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.struct - package overrun.marshal.struct
P
- parameters() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns the parameters.
- parameterType(Parameter) - Static method in record class overrun.marshal.gen.ConvertedClassType
-
Creates parameter type for the given parameter.
- 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, 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, 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(MethodHandle, ReturnValueTransformer.Context) - Method in class overrun.marshal.gen.processor.ReturnValueTransformer
- process(MethodHandle, T) - Method in class overrun.marshal.gen.processor.HandleTransformer
-
Processes the given method handle with the alternative transformers.
- process(DowncallMethodType) - 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.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() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns the value of the
ref
record component. - 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.
- refSlotList() - Method in record class overrun.marshal.gen.processor.AfterInvokeProcessor.Context
-
Returns the value of the
refSlotList
record component. - refSlotList() - Method in record class overrun.marshal.gen.processor.BeforeInvokeProcessor.Context
-
Returns the value of the
refSlotList
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.
- resolveConstantDesc(MethodHandles.Lookup) - Method in class overrun.marshal.gen.ConvertedClassType.Desc
- resolveConstantDesc(MethodHandles.Lookup) - Method in class overrun.marshal.gen.DowncallMethodParameter.Desc
- resolveConstantDesc(MethodHandles.Lookup) - Method in class overrun.marshal.gen.DowncallMethodType.Desc
- Returning-by-value structure - Search tag in annotation interface overrun.marshal.struct.ByValue
- Section
- returnType() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns the return type.
- returnType() - Method in record class overrun.marshal.gen.processor.ReturnValueTransformer.Context
-
Returns the value of the
returnType
record component. - returnType(Method) - Static method in record class overrun.marshal.gen.ConvertedClassType
-
Creates return type for the given method.
- ReturnValueTransformer - Class in overrun.marshal.gen.processor
-
Transforms the return value with
Unmarshal
. - ReturnValueTransformer.Context - Record Class in overrun.marshal.gen.processor
-
The context.
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.AsBool
-
short
type - SHORT - Enum constant in enum class overrun.marshal.gen.processor.ProcessorType.Value
-
short
type - SHORT - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- SIZE_T - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
- sized() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns the value of the
sized
record component. - sized() - Method in class overrun.marshal.gen.DowncallMethodType
-
Returns value of
Sized
. - 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
. - 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 class overrun.marshal.DirectAccessData
-
Returns the symbol lookup of this library.
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 enum class overrun.marshal.gen.AsBool
- toString() - Method in record class overrun.marshal.gen.ConvertedClassType
-
Returns a string representation of this record class.
- toString() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns a string representation of this record class.
- toString() - Method in class overrun.marshal.gen.DowncallMethodType
- 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.CheckProcessor.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 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.ReturnValueTransformer.Context
-
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() - Method in record class overrun.marshal.gen.DowncallMethodParameter
-
Returns the value of the
type
record component. - 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.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.
- 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.AsBool
-
Returns the enum constant of this class with the specified name.
- 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.Value
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class overrun.marshal.gen.AsBool
-
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.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.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. - VOID_POINTER - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
W
- WCHAR_T - Static variable in class overrun.marshal.CanonicalLayouts
-
Specified canonical layouts
All Classes and Interfaces|All Packages|Constant Field Values