Annotation Type Partial


  • @Retention(RUNTIME)
    @Target(FIELD)
    @Documented
    public @interface Partial
    Annotation which is used as a modifier to indicate that a restriction annotation (whose type is denoted by the restriction() field) does not apply to all values passed to an Option or Arguments annotated field but rather applies only to certain values
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int[] appliesTo
      Specifies the indices (zero-based) to which the restriction should actually apply
      java.lang.Class<? extends java.lang.annotation.Annotation> restriction
      Specifies the restriction type whose application should be partial
    • Element Detail

      • appliesTo

        int[] appliesTo
        Specifies the indices (zero-based) to which the restriction should actually apply
        Returns:
        Indices to which the restriction applies
      • restriction

        java.lang.Class<? extends java.lang.annotation.Annotation> restriction
        Specifies the restriction type whose application should be partial
        Returns:
        Restriction type