Annotation Type NoReference


  • @Documented
    @Target({TYPE,METHOD,CONSTRUCTOR,FIELD})
    @Retention(SOURCE)
    public @interface NoReference
    Classes, interfaces, annotations, enums, methods and fields tagged with this annotation are declaring they are not to be referenced at all by clients. For example a method tagged with this annotation should not be called by clients. If this annotation appears anywhere other than classes, interfaces, annotations, enums, methods and fields it will be ignored.
    Since:
    1.0