diff --git a/src/de/dhbwstuttgart/syntaxtree/Class.java b/src/de/dhbwstuttgart/syntaxtree/Class.java index d7b65693..5c66bc2b 100755 --- a/src/de/dhbwstuttgart/syntaxtree/Class.java +++ b/src/de/dhbwstuttgart/syntaxtree/Class.java @@ -1038,20 +1038,20 @@ public class Class extends GTVDeclarationContext implements AClassOrInterface, I //Super Klasse String name = getType().getCombinedType(_cg); - Class superClass = new Class("java/util/Vector",-1); - Type superClassType = superClass.getType(); + //Class superClass = new Class("java/util/Vector",-1); + //Type superClassType = superClass.getType(); //_cg = new ClassGenerator(name, superClassType, name + ".java", Constants.ACC_PUBLIC , new String[] { }, new TypeinferenceResultSet(null, null, null)); - Class generatedClass = new Class(name, 0); + //Class generatedClass = new Class(name, 0); - Block konstruktorBlock = new Block(); - konstruktorBlock.statements.add(new SuperCall(konstruktorBlock)); - Constructor standardKonstruktor = new Constructor(Method.createEmptyMethod(konstruktorBlock, name, superClass), superClass); + //Block konstruktorBlock = new Block(); + //konstruktorBlock.statements.add(new SuperCall(konstruktorBlock)); + //Constructor standardKonstruktor = new Constructor(Method.createEmptyMethod(konstruktorBlock, name, superClass), superClass); - generatedClass.addField(standardKonstruktor); + //generatedClass.addField(standardKonstruktor); - results.addAll(generatedClass.genByteCode(new TypeinferenceResultSet(generatedClass, new Menge<>(), new ResultSet()))); + //results.addAll(generatedClass.genByteCode(new TypeinferenceResultSet(generatedClass, new Menge<>(), new ResultSet()))); /*