类 NativeGeneratorHelper
java.lang.Object
top.dreamlike.panama.genertor.helper.NativeGeneratorHelper
NativeGeneratorHelper 依赖于 Java 平台的预览功能:
NativeGeneratorHelper引用一个或多个预览 API:MemoryLayout,MemorySegment。
预览功能可能会在未来发行版中删除,也可能会升级为 Java 平台的永久功能。
-
字段概要
字段修饰符和类型字段说明static final MethodHandlestatic final Methodstatic final Methodstatic final Methodstatic final Methodstatic Supplier<NativeCallGenerator> static Supplier<StructProxyContextPREVIEW> static final Methodstatic final Method -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidassertRebindMemory(MemorySegmentPREVIEW segment, MemorySegmentPREVIEW origin) static MemoryLayoutPREVIEWcalAlignLayout(List<MemoryLayoutPREVIEW> memoryLayouts) ctorBinder(MethodHandle methodHandle) static MemoryLayoutPREVIEWstatic NativeCallGeneratorstatic StructProxyContextPREVIEWstatic StructProxyGeneratorstatic MemorySegmentPREVIEWdeReferencePointer(MemorySegmentPREVIEW pointer, long sizeof) static Function<MemorySegmentPREVIEW, Object> memoryBinder(MethodHandle methodHandle, MemoryLayoutPREVIEW memoryLayout)
-
字段详细资料
-
DEREFERENCE
-
REBIND_ASSERT_METHOD
-
FETCH_CURRENT_NATIVE_CALL_GENERATOR
-
FETCH_CURRENT_STRUCT_CONTEXT_GENERATOR
-
FETCH_CURRENT_STRUCT_LAYOUT_GENERATOR
-
FETCH_CURRENT_STRUCT_GENERATOR_GENERATOR
-
fetchCurrentNativeCallGenerator
-
fetchCurrentNativeStructGenerator
-
LOAD_SO
-
-
构造器详细资料
-
NativeGeneratorHelper
public NativeGeneratorHelper()
-
-
方法详细资料
-
currentNativeCallGenerator
-
assertRebindMemory
-
deReferencePointer
-
currentStructContext
-
currentLayout
-
currentStructGenerator
-
calAlignLayout
-
memoryBinder
public static Function<MemorySegmentPREVIEW,Object> memoryBinder(MethodHandle methodHandle, MemoryLayoutPREVIEW memoryLayout) throws Throwable - 抛出:
Throwable
-
ctorBinder
- 抛出:
Throwable
-
NativeGeneratorHelper。