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.InterfaceCommentEmitterFunctionEmitter.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, useNIOOnlySTATIC| 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, getReturnedArrayLengthComment, getReturnedArrayLengthExpression, getReturnTypeString, getRuntimeExceptionType, getUnsupportedExceptionType, isForDirectBufferImplementation, isForImplementingMethodCall, isForIndirectBufferAndArrayImplementation, isNIOArgName, isNIOArgName, javaThisArgumentName, offsetArgName, setEmitBody, setEpilogue, setEraseBufferAndArrayTypes, setForDirectBufferImplementation, setForImplementingMethodCall, setForIndirectBufferAndArrayImplementation, setPrologue, setReturnedArrayLengthExpression, setReturnedArrayLengthExpression, signatureOnlyaddModifier, addModifiers, clearModifiers, emit, emit, emitDocComment, emitModifiers, emitSignature, getCommentEmitter, getDefaultOutput, getModifiers, hasModifier, isBaseTypeConst, isInterface, removeModifier, setCommentEmitter, toStringprotected 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 JavaMethodBindingEmitterprotected int emitArguments(PrintWriter writer)
FunctionEmitteremitArguments in class JavaMethodBindingEmitterprotected String getImplMethodName()
getImplMethodName in class JavaMethodBindingEmitterprotected void emitPreCallSetup(MethodBinding binding, PrintWriter writer)
emitPreCallSetup in class JavaMethodBindingEmitterprotected int emitCallArguments(MethodBinding binding, PrintWriter writer)
emitCallArguments in class JavaMethodBindingEmitter