Annotation Type GuardedBy


  • @Target({FIELD,METHOD})
    @Retention(SOURCE)
    public @interface GuardedBy
    Indicates that the annotated element should be used only while holding the specified lock.