Class UnionOfFormatter

  • All Implemented Interfaces:
    MessageMemberFormatter

    public class UnionOfFormatter
    extends java.lang.Object
    implements MessageMemberFormatter
    This class annotates specifically the providence.Any type with two utility methods: - Message unwrapMessage(descriptor); - static Any wrapMessage(message);
    • Constructor Detail

      • UnionOfFormatter

        public UnionOfFormatter​(net.morimekta.util.io.IndentedPrintWriter writer,
                                JHelper helper)
    • Method Detail

      • appendMethods

        public void appendMethods​(JMessage<?> message)
                           throws net.morimekta.providence.generator.GeneratorException
        Specified by:
        appendMethods in interface MessageMemberFormatter
        Throws:
        net.morimekta.providence.generator.GeneratorException