org.jetbrains.annotations
Annotation Type TestOnly


@Documented
@Retention(value=SOURCE)
@Target(value={METHOD,CONSTRUCTOR})
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.



Copyright © 2013. All rights reserved.