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){
superClass = convert(ctx.superclass());
}else{
superClass = new ASTFactory(reg).createObjectClass().getType();
}
}*/
Boolean isInterface = false;
List<RefTypeOrTPHOrWildcardOrGeneric> implementedInterfaces = null;
return new ClassOrInterface(modifiers, name, fielddecl, methods, konstruktoren, genericClassParameters, superClass, isInterface, implementedInterfaces, offset);