Interface Modifier setzen

This commit is contained in:
JanUlrich 2017-12-20 15:59:07 +01:00
parent 90a9273fc2
commit 719d1a5ced

View File

@ -379,6 +379,8 @@ public class SyntaxTreeGenerator{
modifiers += newModifier;
}
}
if(!Modifier.isInterface(modifiers))modifiers += Modifier.INTERFACE;
JavaClassName name = reg.getName(ctx.Identifier().getText());
GenericsRegistry generics = createGenerics(ctx.typeParameters(), name, "", reg, new GenericsRegistry(globalGenerics));