Package com.intellij.lang.annotation

Examples of com.intellij.lang.annotation.AnnotationSession


    return getTestName(true).endsWith("InHtml") ? ".html" : ".dart";
  }

  @Nullable
  private Annotation doHighlightingAndFindIntention(final String message) throws IOException {
    final AnnotationHolderImpl annotationHolder = new AnnotationHolderImpl(new AnnotationSession(myFixture.getFile()));

    final DartInProcessAnnotator annotator = new DartInProcessAnnotator();
    final DartInProcessAnnotator.DartAnnotatorInfo annotatorInfo = annotator.collectInformation(myFixture.getFile());
    final AnalysisContext analysisContext = annotator.doAnnotate(annotatorInfo);
    annotator.apply(myFixture.getFile(), analysisContext, annotationHolder);
View Full Code Here


        StringBuilder sb = new StringBuilder();
        int pos = 0;

        Set<TextAttributesKey> keys = getAllKeysFromGoSyntaxHighlighter();

        AnnotationHolderImpl holder = new AnnotationHolderImpl(new AnnotationSession(file));
        new GoAnnotator().annotate(file, holder);
        Collections.sort(holder, new Comparator<Annotation>() {
            @Override
            public int compare(Annotation o1, Annotation o2) {
                return o1.getStartOffset() - o2.getStartOffset();
View Full Code Here

TOP

Related Classes of com.intellij.lang.annotation.AnnotationSession

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.