src/edu/clemson/resolve/jetbrains/psi/impl/imports/ResModuleReference.java
/**
         * Adds all subdirectories of {@code dirToSearchRecursively} to {@code sourceRoots}.
         *
         * @param sourceRoots an accumulator set that collects all subdirectories of {@code dirToSearchRecursively}.
         * @param dirToSearchRecursively
         */
Adds all subdirectories of  dirToSearchRecursively to  sourceRoots.
@param sourceRoots an accumulator set that collects all subdirectories of  dirToSearchRecursively.
Adds all subdirectories of dirToSearchRecursively to sourceRoots . @param sourceRoots an accumulator set that collects all subdirectories of dirToSearchRecursively .
private void addContexts(LinkedHashSet<VirtualFile> sourceRoots, VirtualFile dirToSearchRecursively) {
            if (!dirToSearchRecursively.isDirectory()) return;
            if (dirToSearchRecursively.getName().startsWith(".")) return; 
            VfsUtilCore.visitChildrenRecursively(dirToSearchRecursively, new VirtualFileVisitor() {
                @Override
                public boolean visitFile(@NotNull VirtualFile file) {
                    if (file.isDirectory()) sourceRoots.add(file);
                    return super.visitFile(file);
                }
            });
        }
private void addContexts ( LinkedHashSet < VirtualFile > sourceRoots , VirtualFile dirToSearchRecursively ) { if ( ! dirToSearchRecursively . isDirectory ( ) ) return ; if ( dirToSearchRecursively . getName ( ) . startsWith ( "." ) ) return ; VfsUtilCore . visitChildrenRecursively ( dirToSearchRecursively , new VirtualFileVisitor ( ) { @ Override public boolean visitFile ( @ NotNull VirtualFile file ) { if ( file . isDirectory ( ) ) sourceRoots . add ( file ) ; return super . visitFile ( file ) ; } } ) ; }
Adds all subdirectories of {@code dirToSearchRecursively} to {@code sourceRoots}.
Adds all subdirectories of { @code dirToSearchRecursively } to { @code sourceRoots } .
//don't care about intellij IDEA private folders