Examples of DaemonCodeAnalyzer


Examples of com.intellij.codeInsight.daemon.DaemonCodeAnalyzer

        Set<String> eventClasses;
        synchronized (allEventClasses) {
          eventClasses = new HashSet<String>(allEventClasses);
        }
        JavaPsiFacade javaPsiFacade = JavaPsiFacade.getInstance(myProject);
        DaemonCodeAnalyzer codeAnalyzer = DaemonCodeAnalyzer.getInstance(myProject);
        for (String eventClass : eventClasses) {
          PsiClass eventPsiClass = javaPsiFacade.findClass(eventClass,
                GlobalSearchScope.allScope(myProject));
          if (eventPsiClass == null) continue;
          PsiFile psiFile = eventPsiClass.getContainingFile();
          if (psiFile == null) continue;
          codeAnalyzer.restart(psiFile);
        }
      }
    });
  }
View Full Code Here

Examples of com.intellij.codeInsight.daemon.DaemonCodeAnalyzer

    for (Language language : languages) {
      PsiElement root = viewProvider.getPsi(language);
      skipHighlighting_IJ12_IJ13_compatibility_workaround(root);
    }
    DaemonCodeAnalyzer analyzer = DaemonCodeAnalyzer.getInstance(psiFile.getProject());
    analyzer.restart();
  }
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.