View Javadoc
1   package annotations;
2
3   import java.lang.annotation.Documented;
4   import java.lang.annotation.ElementType;
5   import java.lang.annotation.Retention;
6   import java.lang.annotation.RetentionPolicy;
7   import java.lang.annotation.Target;
8
9   import edu.umd.cs.findbugs.Priorities;
10
11  /**
12   * This annotation documents to which detector(s) annotated test samples are linked.
13   * Currently it is used for documentation only.
14   */
15  @Target(ElementType.TYPE)
16  @Retention(RetentionPolicy.SOURCE)
17  @Documented
18  public @interface DetectorUnderTest {
19      Class<? extends Priorities> [] value();
20  }