public class ProcAddressJavaMethodBindingEmitter extends JavaMethodBindingEmitter
Modifier and Type | Class and Description |
---|---|
class |
ProcAddressJavaMethodBindingEmitter.WrappedMethodCommentEmitter
This class emits the comment for the wrapper method
|
JavaMethodBindingEmitter.DefaultCommentEmitter, JavaMethodBindingEmitter.InterfaceCommentEmitter
FunctionEmitter.EmissionModifier
Modifier and Type | Field and Description |
---|---|
protected boolean |
callThroughProcAddress |
protected boolean |
changeNameAndArguments |
protected ProcAddressEmitter |
emitter |
protected String |
getProcAddressTableExpr |
ABSTRACT, binding, defaultInterfaceCommentEmitter, defaultJavaCommentEmitter, emitBody, epilogue, eraseBufferAndArrayTypes, FINAL, forDirectBufferImplementation, forImplementingMethodCall, forIndirectBufferAndArrayImplementation, isUnimplemented, NATIVE, PRIVATE, prologue, PROTECTED, PUBLIC, SYNCHRONIZED, tagNativeBinding, useNIODirectOnly, useNIOOnly
STATIC
Constructor and Description |
---|
ProcAddressJavaMethodBindingEmitter(JavaMethodBindingEmitter methodToWrap,
boolean callThroughProcAddress,
String getProcAddressTableExpr,
boolean changeNameAndArguments,
ProcAddressEmitter emitter) |
ProcAddressJavaMethodBindingEmitter(ProcAddressJavaMethodBindingEmitter methodToWrap) |
Modifier and Type | Method and Description |
---|---|
protected int |
emitArguments(PrintWriter writer)
Returns the number of arguments emitted.
|
protected int |
emitCallArguments(MethodBinding binding,
PrintWriter writer) |
protected void |
emitPreCallSetup(MethodBinding binding,
PrintWriter writer) |
protected String |
getImplMethodName() |
String |
getName() |
argumentNameArray, byteOffsetArgName, byteOffsetArgName, byteOffsetArrayArgName, emitArrayLengthAndNIOBufferChecks, emitBody, emitCall, emitCallResultReturn, emitCompoundArrayCopies, emitName, emitPostCallCleanup, emitPrologueOrEpilogue, emitReturnType, emitReturnVariableSetupAndCall, erasedTypeString, getArgumentName, getBaseIndentString, getBinding, getCommentEndString, getCommentStartString, getReturnedArrayLengthExpression, getReturnTypeString, getRuntimeExceptionType, getUnsupportedExceptionType, isForDirectBufferImplementation, isForImplementingMethodCall, isForIndirectBufferAndArrayImplementation, isNIOArgName, isNIOArgName, javaThisArgumentName, offsetArgName, setEmitBody, setEpilogue, setEraseBufferAndArrayTypes, setForDirectBufferImplementation, setForImplementingMethodCall, setForIndirectBufferAndArrayImplementation, setPrologue, setReturnedArrayLengthExpression, signatureOnly
addModifier, addModifiers, clearModifiers, emit, emit, emitDocComment, emitModifiers, emitSignature, getCommentEmitter, getDefaultOutput, getModifiers, hasModifier, isInterface, removeModifier, setCommentEmitter, toString
protected boolean callThroughProcAddress
protected boolean changeNameAndArguments
protected String getProcAddressTableExpr
protected ProcAddressEmitter emitter
public ProcAddressJavaMethodBindingEmitter(JavaMethodBindingEmitter methodToWrap, boolean callThroughProcAddress, String getProcAddressTableExpr, boolean changeNameAndArguments, ProcAddressEmitter emitter)
public ProcAddressJavaMethodBindingEmitter(ProcAddressJavaMethodBindingEmitter methodToWrap)
public String getName()
getName
in class JavaMethodBindingEmitter
protected int emitArguments(PrintWriter writer)
FunctionEmitter
emitArguments
in class JavaMethodBindingEmitter
protected String getImplMethodName()
getImplMethodName
in class JavaMethodBindingEmitter
protected void emitPreCallSetup(MethodBinding binding, PrintWriter writer)
emitPreCallSetup
in class JavaMethodBindingEmitter
protected int emitCallArguments(MethodBinding binding, PrintWriter writer)
emitCallArguments
in class JavaMethodBindingEmitter