Class BaseEnumFormatter

  • Direct Known Subclasses:
    JavaEnumFormatter

    public class BaseEnumFormatter
    extends java.lang.Object
    Base formatter for all enums.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendEnumClass​(net.morimekta.providence.reflect.contained.CEnumDescriptor type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseEnumFormatter

        public BaseEnumFormatter​(net.morimekta.util.io.IndentedPrintWriter writer,
                                 java.util.List<EnumMemberFormatter> formatters)
    • Method Detail

      • appendEnumClass

        public void appendEnumClass​(net.morimekta.providence.reflect.contained.CEnumDescriptor type)
                             throws net.morimekta.providence.generator.GeneratorException
        Throws:
        net.morimekta.providence.generator.GeneratorException