@@ -0,0 +1,944 @@
+package com.yahoo.abicheck;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.containsInAnyOrder;%0A%0Aimport com.yahoo.abicheck.collector.AnnotationCollector;%0Aimport java.io.IOException;%0Aimport org.junit.jupiter.api.Disabled;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.objectweb.asm.ClassReader;%0A%0Apublic class AnnotationCollectorTest %7B%0A%0A  @Test%0A  public void testCollection() throws IOException %7B%0A    ClassReader r = new ClassReader(%0A        %22com.yahoo.abicheck.AnnotationCollectorTest$ClassWithAnnotations%22);%0A    AnnotationCollector collector = new AnnotationCollector();%0A    r.accept(collector, ClassReader.SKIP_CODE %7C ClassReader.SKIP_DEBUG %7C ClassReader.SKIP_FRAMES);%0A%0A    assertThat(collector.getAnnotations(), containsInAnyOrder(Disabled.class.getCanonicalName()));%0A  %7D%0A%0A  @Disabled // Any RetentionPolicy.RUNTIME annotation is fine for testing%0A  private static class ClassWithAnnotations %7B%0A%0A  %7D%0A%7D%0A

Add test for AnnotationCollector.