// Open interface.
genInterfaceAnnotations(writer);
writer.write("public interface %s extends Messages {", getMessagesClassName());
writer.newline();
writer.indent();
// Write message methods
for (MessageWriter m : messages) {
m.writeDeclaration(writer);
}