add
open fun add(startPackage: String, filename: String, compilationUnit: CompilationUnit): SourceRoot(source)
Add a newly created Java file to the cache of this source root. It will be saved when saveAll is called.
Parameters
startPackage
files in this package and deeper are parsed. Pass "" to parse all files.
Add a newly created Java file to the cache of this source root. It will be saved when saveAll is called. It needs to have its path set.