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 and description |
|---|
GroovyRootDocBuilder(GroovyDocTool tool, String[] sourcepaths, List<LinkArgument> links, Properties properties)
|
GroovyRootDocBuilder(String[] sourcepaths, List<LinkArgument> links, Properties properties)Creates a builder for the given source paths, link arguments, and generation properties. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
buildTree(List<String> filenames)Parses all given source files and populates the root doc. |
|
public int |
getErrorCount()Returns the number of source files that failed to parse. |
|
public GroovyRootDoc |
getRootDoc()Resolves inter-class references and returns the completed root doc. |
tool parameter is unused; use GroovyRootDocBuilder(String[], List, Properties) instead.Creates a builder for the given source paths, link arguments, and generation properties.
Parses all given source files and populates the root doc.
filenames - source file paths to processReturns the number of source files that failed to parse.
Resolves inter-class references and returns the completed root doc.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.