Annotation Type GuardedBy


  • @Documented
    @Retention(SOURCE)
    @Target({METHOD,FIELD})
    public @interface GuardedBy
    Indicates that the target field or method should only be accessed with the specified lock being held.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value