Module jakarta.cdi

Annotation Type Nonbinding


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Nonbinding

    Excludes a member of an annotation type (such as a qualifier type or interceptor binding type) from consideration when the container compares two annotation instances.

     @Qualifier
     @Retention(RUNTIME)
     @Target({ METHOD, FIELD, PARAMETER, TYPE })
     public @interface PayBy {
         PaymentMethod value();
    
         @Nonbinding
         String comment();
     }
     
    Author:
    Gavin King
    See Also:
    Qualifier, InterceptorBinding