From 7607867f0bba56792cad320695d6209b49acce9d Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Thu, 17 Oct 2013 21:34:47 -0700 Subject: gluegen: add all missing @Override annotations Signed-off-by: Harvey Harrison --- src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java') diff --git a/src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java b/src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java index 81188a5..46ecab2 100644 --- a/src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java +++ b/src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java @@ -162,6 +162,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter { public boolean isForDirectBufferImplementation() { return forDirectBufferImplementation; } public boolean isForIndirectBufferAndArrayImplementation() { return forIndirectBufferAndArrayImplementation; } + @Override public String getName() { return binding.getName(); } @@ -234,6 +235,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter { this.forIndirectBufferAndArrayImplementation = indirect; } + @Override protected void emitReturnType(PrintWriter writer) { writer.print(getReturnTypeString(false)); } @@ -303,6 +305,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter { return erasedTypeString(binding.getJavaReturnType(), true) + "[]"; } + @Override protected void emitName(PrintWriter writer) { if (forImplementingMethodCall) { writer.print(getImplMethodName()); @@ -311,6 +314,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter { } } + @Override protected int emitArguments(PrintWriter writer) { boolean needComma = false; int numEmitted = 0; @@ -404,6 +408,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter { return getArgumentName(i) + "_offset"; } + @Override protected void emitBody(PrintWriter writer) { if (!emitBody) { writer.println(';'); @@ -804,6 +809,7 @@ public class JavaMethodBindingEmitter extends FunctionEmitter { * emitter java method. */ protected class DefaultCommentEmitter implements CommentEmitter { + @Override public void emit(FunctionEmitter emitter, PrintWriter writer) { emitBeginning(emitter, writer); emitBindingCSignature(((JavaMethodBindingEmitter)emitter).getBinding(), writer); -- cgit v1.2.3