diff --git a/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java b/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java index 5b1235b5..5976d9e6 100644 --- a/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java +++ b/src/de/dhbwstuttgart/parser/SyntaxTreeGenerator/SyntaxTreeGenerator.java @@ -220,12 +220,13 @@ public class SyntaxTreeGenerator{ ); } - RefType superClass ; + RefType superClass = null ; + /* if(ctx.superclass() != null){ superClass = convert(ctx.superclass()); }else{ superClass = new ASTFactory(reg).createObjectClass().getType(); - } + }*/ Boolean isInterface = false; List implementedInterfaces = null; return new ClassOrInterface(modifiers, name, fielddecl, methods, konstruktoren, genericClassParameters, superClass, isInterface, implementedInterfaces, offset);