Annotation Interface 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();
 }
 
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Supports inline instantiation of the Nonbinding annotation.