superClass = null

This commit is contained in:
JanUlrich 2017-04-20 18:56:11 +02:00
parent a9909d5f32
commit 502307f7d8

View File

@ -220,12 +220,13 @@ public class SyntaxTreeGenerator{
); );
} }
RefType superClass ; RefType superClass = null ;
/*
if(ctx.superclass() != null){ if(ctx.superclass() != null){
superClass = convert(ctx.superclass()); superClass = convert(ctx.superclass());
}else{ }else{
superClass = new ASTFactory(reg).createObjectClass().getType(); superClass = new ASTFactory(reg).createObjectClass().getType();
} }*/
Boolean isInterface = false; Boolean isInterface = false;
List<RefTypeOrTPHOrWildcardOrGeneric> implementedInterfaces = null; List<RefTypeOrTPHOrWildcardOrGeneric> implementedInterfaces = null;
return new ClassOrInterface(modifiers, name, fielddecl, methods, konstruktoren, genericClassParameters, superClass, isInterface, implementedInterfaces, offset); return new ClassOrInterface(modifiers, name, fielddecl, methods, konstruktoren, genericClassParameters, superClass, isInterface, implementedInterfaces, offset);