Annotation Interface ForTestingOnly


@Documented @Retention(CLASS) @Target({TYPE,METHOD}) public @interface ForTestingOnly
Marks a type or method that only exists for testing purposes. Do not use for any other reason! Methods tagged with this should also be tagged @Deprecated; classes/interfaces tagged with this need not.
Author:
Donal Fellows
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Utilities for checking the promises relating to the annotation.