类 NativeGeneratorHelper
java.lang.Object
top.dreamlike.panama.generator.helper.NativeGeneratorHelper
-
字段概要
字段修饰符和类型字段说明static final Methodstatic final ThreadLocal<NativeCallGenerator> static final MethodHandlestatic final Methodstatic final Methodstatic final Methodstatic final Methodstatic final Methodstatic final Methodstatic Supplier<NativeCallGenerator> static Supplier<StructProxyContext> static final Methodstatic final Methodstatic final MethodHandlestatic final Methodstatic final Methodstatic final Methodstatic final Methodstatic final Methodstatic final Methodstatic final ThreadLocal<StructProxyContext> static final MethodHandle -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidassertRebindMemory(MemorySegment segment, MemorySegment origin) static MemoryLayoutcalAlignLayout(List<MemoryLayout> memoryLayouts) ctorBinder(MethodHandle methodHandle) static MemoryLayoutstatic NativeCallGeneratorstatic StructProxyContextstatic StructProxyGeneratorstatic MemorySegmentdeReferencePointer(MemorySegment pointer, long sizeof) static Function<MemorySegment, Object> memoryBinder(MethodHandle methodHandle, MemoryLayout memoryLayout) static voidoverwriteSubElement(Object proxyStruct, long offset, long size, Object newStruct) static voidstatic MemorySegment
-
字段详细资料
-
DEREFERENCE
-
REBIND_ASSERT_METHOD
-
FETCH_CURRENT_NATIVE_CALL_GENERATOR
-
FETCH_CURRENT_STRUCT_CONTEXT_GENERATOR
-
FETCH_CURRENT_STRUCT_LAYOUT_GENERATOR
-
FETCH_CURRENT_STRUCT_GENERATOR_GENERATOR
-
CURRENT_GENERATOR
-
fetchCurrentNativeCallGenerator
-
STRUCT_CONTEXT
-
fetchCurrentNativeStructGenerator
-
LOAD_SO
-
FETCH_STRUCT_PROXY_GENERATOR
-
REAL_MEMORY
-
REBIND_MEMORY
-
GET_ADDRESS_FROM_MEMORY_SEGMENT
-
REINTERPRET
-
AS_SLICE
-
ENHANCE
-
TRANSFORM_OBJECT_TO_STRUCT_MH
-
NATIVE_ARRAY_CTOR
-
SET_PTR
-
OVER_WRITE_SUB_ELEMENT
-
-
构造器详细资料
-
NativeGeneratorHelper
public NativeGeneratorHelper()
-
-
方法详细资料
-
currentNativeCallGenerator
-
assertRebindMemory
-
deReferencePointer
-
currentStructContext
-
transToStruct
-
currentLayout
-
currentStructGenerator
-
calAlignLayout
-
memoryBinder
public static Function<MemorySegment,Object> memoryBinder(MethodHandle methodHandle, MemoryLayout memoryLayout) throws Throwable - 抛出:
Throwable
-
ctorBinder
- 抛出:
Throwable
-
setPtr
-
overwriteSubElement
-