public final class JavaModuleInsight extends ModuleInsight
myProgress
Constructor and Description |
---|
JavaModuleInsight(ProgressIndicator progress,
java.util.Set<java.lang.String> existingModuleNames,
java.util.Set<java.lang.String> existingProjectLibraryNames) |
Modifier and Type | Method and Description |
---|---|
protected ModuleDescriptor |
createModuleDescriptor(java.io.File moduleContentRoot,
java.util.Collection<DetectedSourceRoot> sourceRoots) |
protected java.util.List<DetectedSourceRoot> |
getSourceRootsToScan() |
boolean |
isApplicableRoot(DetectedProjectRoot root) |
protected boolean |
isLibraryFile(java.lang.String fileName) |
protected boolean |
isSourceFile(java.io.File file) |
protected void |
scanLibraryForDeclaredPackages(java.io.File file,
Consumer<java.lang.String> result) |
void |
scanModules() |
protected void |
scanSourceFileForImportedPackages(java.lang.CharSequence chars,
Consumer<java.lang.String> result) |
addExportedPackages, addModules, getLibraryDependencies, getLibraryDependencies, getSuggestedLibraries, getSuggestedModules, isEntryPointRoot, isIgnoredName, merge, moveJarsToLibrary, removeLibrary, scanLibraries, setRoots, splitLibrary, splitModule
public JavaModuleInsight(ProgressIndicator progress, java.util.Set<java.lang.String> existingModuleNames, java.util.Set<java.lang.String> existingProjectLibraryNames)
public void scanModules()
scanModules
in class ModuleInsight
protected java.util.List<DetectedSourceRoot> getSourceRootsToScan()
getSourceRootsToScan
in class ModuleInsight
protected boolean isSourceFile(java.io.File file)
isSourceFile
in class ModuleInsight
protected boolean isLibraryFile(java.lang.String fileName)
isLibraryFile
in class ModuleInsight
protected void scanSourceFileForImportedPackages(java.lang.CharSequence chars, Consumer<java.lang.String> result)
scanSourceFileForImportedPackages
in class ModuleInsight
protected void scanLibraryForDeclaredPackages(java.io.File file, Consumer<java.lang.String> result) throws java.io.IOException
scanLibraryForDeclaredPackages
in class ModuleInsight
java.io.IOException
protected ModuleDescriptor createModuleDescriptor(java.io.File moduleContentRoot, java.util.Collection<DetectedSourceRoot> sourceRoots)
createModuleDescriptor
in class ModuleInsight
public boolean isApplicableRoot(DetectedProjectRoot root)
isApplicableRoot
in class ModuleInsight