Class GroovyRootDocBuilder

java.lang.Object
org.codehaus.groovy.tools.groovydoc.GroovyRootDocBuilder

public class GroovyRootDocBuilder extends Object
Builds a SimpleGroovyRootDoc from source files by dispatching each file to either the Groovy AST visitor or the Java parser.
  • Constructor Details

  • Method Details

    • buildTree

      public void buildTree(List<String> filenames) throws IOException
      Parses all given source files and populates the root doc.
      Parameters:
      filenames - source file paths to process
      Throws:
      IOException - if a file cannot be read
    • getErrorCount

      public int getErrorCount()
      Returns the number of source files that failed to parse.
      Since:
      6.0.0
    • getRootDoc

      public GroovyRootDoc getRootDoc()
      Resolves inter-class references and returns the completed root doc.