aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-10-17 21:34:47 -0700
committerHarvey Harrison <[email protected]>2013-10-17 21:34:47 -0700
commit7607867f0bba56792cad320695d6209b49acce9d (patch)
tree36f348562c272f5b994c12519c27d5b06b233566 /src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java
parent791a2749886f02ec7b8db25bf8862e8269b96da5 (diff)
gluegen: add all missing @Override annotations
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java')
-rw-r--r--src/java/com/jogamp/gluegen/JavaMethodBindingEmitter.java6
1 files changed, 6 insertions, 0 deletions
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);