Class AbstractFileGenerator

    • Constructor Detail

      • AbstractFileGenerator

        public AbstractFileGenerator()
    • Method Detail

      • generate

        public void generate​(Appendable out,
                             int indent)
        Description copied from interface: FileGenerator
        Generates the file contents to the given Appendable.
        Specified by:
        generate in interface FileGenerator
        indent - The initial indentation level to start with.
      • getIndent

        public int getIndent()
        The current indentation level.
      • generate

        protected abstract void generate()
      • docComment

        protected abstract void docComment​(String comment)
      • line

        protected void line​(String line)
      • line

        protected void line​(String... parts)
      • lineStart

        protected void lineStart​(String line)
      • append

        protected void append​(String part)
      • nl

        protected void nl()