|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |