Package com.intellij.codeInsight.daemon

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


    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

Related Classes of com.intellij.codeInsight.daemon.DaemonCodeAnalyzer

Copyright © 2018 www.massapicom. 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.