Package org.jetbrains.annotations

## Annotation Type TestOnly

-     @Documented
      @Retention(SOURCE)
      @Target({METHOD,CONSTRUCTOR,FIELD,TYPE})
      public @interface TestOnly

  A method/constructor annotated with TestOnly claims that it should be called from testing code only.

  Apart from documentation purposes this annotation is intended to be used by static analysis tools to validate against element contract violations.