记录类 DowncallContext
java.lang.Object
java.lang.Record
top.dreamlike.panama.generator.helper.DowncallContext
public record DowncallContext(FunctionDescriptor fd, Linker.Option[] ops, String functionName, boolean returnPointer, boolean needCaptureStatue, ArrayList<Integer> rawMemoryIndex)
extends Record
-
构造器概要
构造器构造器说明DowncallContext(FunctionDescriptor fd, Linker.Option[] ops, String functionName, boolean returnPointer, boolean needCaptureStatue, ArrayList<Integer> rawMemoryIndex) 创建DowncallContext记录类的实例。 -
方法概要
-
构造器详细资料
-
DowncallContext
public DowncallContext(FunctionDescriptor fd, Linker.Option[] ops, String functionName, boolean returnPointer, boolean needCaptureStatue, ArrayList<Integer> rawMemoryIndex) 创建DowncallContext记录类的实例。- 参数:
fd-fd记录组件的值ops-ops记录组件的值functionName-functionName记录组件的值returnPointer-returnPointer记录组件的值needCaptureStatue-needCaptureStatue记录组件的值rawMemoryIndex-rawMemoryIndex记录组件的值
-
-
方法详细资料
-
fast
public boolean fast() -
toString
-
hashCode
-
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 使用Objects::equals(Object,Object)对参考组件进行比较;使用compare方法从对应的包装类对基元组件进行比较。 -
fd
-
ops
-
functionName
-
returnPointer
public boolean returnPointer()返回returnPointer记录组件的值。- 返回:
returnPointer记录组件的值
-
needCaptureStatue
public boolean needCaptureStatue()返回needCaptureStatue记录组件的值。- 返回:
needCaptureStatue记录组件的值
-
rawMemoryIndex
-