From e1c925b9bcdc4889ad8b2b4b7a755486e598d5d6 Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Wed, 6 Apr 2016 12:42:15 +0200 Subject: [PATCH] =?UTF-8?q?Unn=C3=B6tige=20Kommentare=20l=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/de/dhbwstuttgart/syntaxtree/Class.java | 43 ++++------------------ 1 file changed, 7 insertions(+), 36 deletions(-) diff --git a/src/de/dhbwstuttgart/syntaxtree/Class.java b/src/de/dhbwstuttgart/syntaxtree/Class.java index 3c93f2c7..eabd9094 100755 --- a/src/de/dhbwstuttgart/syntaxtree/Class.java +++ b/src/de/dhbwstuttgart/syntaxtree/Class.java @@ -169,47 +169,21 @@ public class Class extends GTVDeclarationContext implements AClassOrInterface, I { this.superif = superif; } - - // ino.attribute.superclassid.23014.decldescription type=line - // private Status status; - // ino.end - // ino.attribute.superclassid.23014.declaration - public UsedId superclassid = (SourceFile.READ_OBJECT_SUPERCLASSES_FROM_JRE?UsedId.createFromQualifiedName("Object",-1):null); - // ino.end - // ino.attribute.class_block.23020.decldescription type=line - // private Class java; - // ino.end - // ino.attribute.class_block.23020.declaration - private Block class_block; - // ino.end - // ino.attribute.paralist.23023.declaration - //private Menge paralist = new Menge(); // Parameterliste 'class xy{}' wird gespeichert - // ino.end - // ino.attribute.parahash.23026.declaration - private Hashtable parahash = new Hashtable(); // parametrisierten Attrib. werden mit den Paramet.aus paralist verk. - // ino.end - // ino.attribute.isFirstLocalVarDecl.23029.declaration - public static boolean isFirstLocalVarDecl; //Hilfsvariable fuer Offsets, hoth - // ino.end - //private Menge genericClassParameters=new Menge(); - - // ino.attribute.containedTypes.23032.decldescription type=line + public UsedId superclassid = (SourceFile.READ_OBJECT_SUPERCLASSES_FROM_JRE?UsedId.createFromQualifiedName("Object",-1):null); + + private Block class_block; + + private Hashtable parahash = new Hashtable(); // parametrisierten Attrib. werden mit den Paramet.aus paralist verk. + + public static boolean isFirstLocalVarDecl; //Hilfsvariable fuer Offsets, hoth // PL 05-07-30 eingefuegt. Vektor aller Typdeklarationen, die in der Klasse // vorkommen. Wird in der Studienarbeit von Andreas Stadelmeier nur für Verifizierung der Tests eingesetzt. - // ino.end - // ino.attribute.containedTypes.23032.declaration private Menge containedTypes = new Menge(); - // ino.end - // ino.attribute.usedIdsToCheck.23035.declaration private Menge usedIdsToCheck = new Menge(); - // ino.end private TypeAssumptions typeAssumptions = null;//muss mit null Initialisiert werden. Darf nur über getTypeAssumptions abgerufen werden. - // ino.attribute.parserlog.23038.declaration - //protected Logger parselog = Logger.getLogger("parser"); - // ino.end protected Logger typinferenzLog = Logger.getLogger(Class.class.getName()); private SyntaxTreeNode parent; private Menge fielddecl = new Menge(); @@ -218,10 +192,7 @@ public class Class extends GTVDeclarationContext implements AClassOrInterface, I private RefType superClass; - // ino.method.Class.23041.definition public Class(String name, int offset) - // ino.end - // ino.method.Class.23041.body { this.name = name; if(name.equals("java.lang.Object")){