SourceRoot |
SourceRoot.add(CompilationUnit compilationUnit) |
Add a newly created Java file to the cache of this source root.
|
SourceRoot |
SourceRoot.add(String startPackage,
String filename,
CompilationUnit compilationUnit) |
Add a newly created Java file to the cache of this source root.
|
SourceRoot |
SourceRoot.parse(String startPackage,
ParserConfiguration configuration,
SourceRoot.Callback callback) |
Tries to parse all .java files in a package recursively and passes them one by one to the callback.
|
SourceRoot |
SourceRoot.parse(String startPackage,
SourceRoot.Callback callback) |
|
SourceRoot |
SourceRoot.parse(String startPackage,
String filename,
ParserConfiguration configuration,
SourceRoot.Callback callback) |
Locates the .java file with the provided package and file name, parses it and passes it to the
callback.
|
SourceRoot |
SourceRoot.parse(String startPackage,
String filename,
SourceRoot.Callback callback) |
Parses the provided .java file and passes it to the callback.
|
SourceRoot |
SourceRoot.parseParallelized(SourceRoot.Callback callback) |
Tries to parse all .java files recursively using multiple threads, and passes them one by one to the callback.
|
SourceRoot |
SourceRoot.parseParallelized(String startPackage,
ParserConfiguration configuration,
SourceRoot.Callback callback) |
Tries to parse all .java files in a package recursively using multiple threads, and passes them one by one to the
callback.
|
SourceRoot |
SourceRoot.parseParallelized(String startPackage,
SourceRoot.Callback callback) |
Tries to parse all .java files in a package recursively using multiple threads, and passes them one by one to the
callback.
|
SourceRoot |
SourceRoot.saveAll() |
Save all previously parsed files back to where they were found.
|
SourceRoot |
SourceRoot.saveAll(Charset encoding) |
Save all previously parsed files back to where they were found, with the given encoding.
|
SourceRoot |
SourceRoot.saveAll(Path root) |
Save all previously parsed files back to a new path.
|
SourceRoot |
SourceRoot.saveAll(Path root,
Charset encoding) |
Save all previously parsed files back to a new path.
|
SourceRoot |
SourceRoot.setParserConfiguration(ParserConfiguration parserConfiguration) |
Set the parser configuration that is used for parsing when no configuration is passed to a method.
|
SourceRoot |
SourceRoot.setPrinter(Function<CompilationUnit,String> printer) |
Set the printing function that transforms compilation units into a string to save.
|