Annotation Type OnlyForTesting


  • @Documented
    @Target({METHOD,CONSTRUCTOR,TYPE})
    @Retention(RUNTIME)
    public @interface OnlyForTesting
    With this annotation you can mark methods which should be only called for testing but *never* from any other methods.
    Since:
    19.02.2009
    Version:
    $Revision: 1.4 $
    Author:
    oliver