diff options
author | Harvey Harrison <[email protected]> | 2013-10-17 21:34:47 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-10-17 21:34:47 -0700 |
commit | 7607867f0bba56792cad320695d6209b49acce9d (patch) | |
tree | 36f348562c272f5b994c12519c27d5b06b233566 /src/java/com/jogamp/gluegen/DebugEmitter.java | |
parent | 791a2749886f02ec7b8db25bf8862e8269b96da5 (diff) |
gluegen: add all missing @Override annotations
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/com/jogamp/gluegen/DebugEmitter.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/DebugEmitter.java | 15 |
1 files changed, 15 insertions, 0 deletions
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<Type, Type> canonMap) { @@ -78,6 +85,7 @@ public class DebugEmitter implements GlueEmitter { } } + @Override public Iterator<FunctionSymbol> emitFunctions(List<FunctionSymbol> 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<Type, Type> 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() {} } |