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/DebugEmitter.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/java/com/jogamp/gluegen/DebugEmitter.java') diff --git a/src/java/com/jogamp/gluegen/DebugEmitter.java b/src/java/com/jogamp/gluegen/DebugEmitter.java index d5fab6e..781188e 100644 --- a/src/java/com/jogamp/gluegen/DebugEmitter.java +++ b/src/java/com/jogamp/gluegen/DebugEmitter.java @@ -48,26 +48,33 @@ import com.jogamp.gluegen.cgram.types.*; public class DebugEmitter implements GlueEmitter { + @Override public void readConfigurationFile(String filename) {} + @Override public void beginEmission(GlueEmitterControls controls) { System.out.println("----- BEGIN EMISSION OF GLUE CODE -----"); } + @Override public void endEmission() { System.out.println("----- END EMISSION OF GLUE CODE -----"); } + @Override public void beginDefines() {} + @Override public void emitDefine(ConstantDefinition def, String optionalComment) { String name = def.getName(); String value = def.getValue(); System.out.println("#define " + name + " " + value + (optionalComment != null ? ("// " + optionalComment) : "")); } + @Override public void endDefines() {} + @Override public void beginFunctions(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map canonMap) { @@ -78,6 +85,7 @@ public class DebugEmitter implements GlueEmitter { } } + @Override public Iterator emitFunctions(List originalCFunctions) throws Exception { for (FunctionSymbol sym : originalCFunctions) { emitSingleFunction(sym); @@ -88,15 +96,21 @@ public class DebugEmitter implements GlueEmitter { System.out.println(sym); System.out.println(" -> " + sym.toString()); } + @Override public void endFunctions() {} + @Override public void beginStructLayout() throws Exception {} + @Override public void layoutStruct(CompoundType t) throws Exception {} + @Override public void endStructLayout() throws Exception {} + @Override public void beginStructs(TypeDictionary typedefDictionary, TypeDictionary structDictionary, Map canonMap) { } + @Override public void emitStruct(CompoundType t, String alternateName) { String name = t.getName(); if (name == null && alternateName != null) { @@ -106,5 +120,6 @@ public class DebugEmitter implements GlueEmitter { System.out.println("Referenced type \"" + name + "\""); } + @Override public void endStructs() {} } -- cgit v1.2.3