Examples of AnnotationHolderImpl


Examples of com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl

    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

Examples of com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl

        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
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.