Charj: retain more information about class field types
[charm.git] / src / langs / charj / src / charj / translator / ClassSymbol.java
index 0c9ab1be068d3eed89872fe66b94b8acf664bcd7..a1e17906dbc483076f4c5f919fdb982cf18e9cb6 100644 (file)
@@ -237,12 +237,12 @@ public class ClassSymbol extends SymbolWithScope implements Scope {
 
     public List<String> getMemberTypeNames()
     {
-        System.out.println("Looking for type names...");
-        System.out.println("Found " + fields.size() + " fields...");
+        if (debug()) System.out.println("Looking for type names...");
+        if (debug()) System.out.println("Found " + fields.size() + " fields...");
         List<String> names = new ArrayList<String>();
         for (ClassSymbol c : getMemberTypes()) {
             names.add(c.getFullyQualifiedName());
-            System.out.println("Found type " + c.getFullyQualifiedName());
+            if (debug()) System.out.println("Found type " + c.getFullyQualifiedName());
         }
         return names;
     }