Examples of toSearchScope()


Examples of com.intellij.analysis.AnalysisScope.toSearchScope()

                                      @NotNull List<Tools> localTools,
                                      @NotNull GlobalInspectionContext context) {
    final AnalysisScope analysisScope = context.getRefManager().getScope();
    if (analysisScope == null) return;

    final GlobalSearchScope scope = GlobalSearchScope.EMPTY_SCOPE.union(analysisScope.toSearchScope());
    setIndicatorText("Looking for Dart files...");
    final Collection<VirtualFile> dartFiles = FileTypeIndex.getFiles(DartFileType.INSTANCE, scope);

    for (VirtualFile dartFile : dartFiles) {
      analyzeFile(dartFile, context.getProject());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.