Package com.jogamp.gluegen
Class JavaMethodBindingEmitter.DefaultCommentEmitter
java.lang.Object
com.jogamp.gluegen.JavaMethodBindingEmitter.DefaultCommentEmitter
- All Implemented Interfaces:
CommentEmitter
- Direct Known Subclasses:
JavaMethodBindingEmitter.InterfaceCommentEmitter,ProcAddressJavaMethodBindingEmitter.WrappedMethodCommentEmitter
- Enclosing class:
- JavaMethodBindingEmitter
protected class JavaMethodBindingEmitter.DefaultCommentEmitter
extends Object
implements CommentEmitter
Class that emits a generic comment for JavaMethodBindingEmitters; the comment
includes the C signature of the native method that is being bound by the
emitter java method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidemit(FunctionEmitter emitter, PrintWriter writer) Emit the body of a comment for the specified function; do NOT emit the open (e.g., comment "/*") or close (e.g., "*\/") characters.protected voidemitAliasedDocNamesComment(AliasedSymbol sym, PrintWriter writer) protected StringBuilderprotected voidemitBeginning(FunctionEmitter emitter, PrintWriter writer) protected voidemitBindingCSignature(MethodBinding binding, PrintWriter writer) protected voidemitEnding(FunctionEmitter emitter, PrintWriter writer)
-
Constructor Details
-
DefaultCommentEmitter
protected DefaultCommentEmitter()
-
-
Method Details
-
emitAliasedDocNamesComment
-
emitAliasedDocNamesComment
-
emit
Description copied from interface:CommentEmitterEmit the body of a comment for the specified function; do NOT emit the open (e.g., comment "/*") or close (e.g., "*\/") characters.- Specified by:
emitin interfaceCommentEmitter
-
emitBeginning
-
emitBindingCSignature
-
emitEnding
-