Annotation Type NoQualifierParameter
-
@Documented @Retention(RUNTIME) @Target(TYPE) @Inherited public @interface NoQualifierParameterThis is a declaration annotation that applies to type declarations. Some classes conceptually take a type qualifier parameter. This annotation indicates that this class and its subclasses explicitly do not do so. The only reason to write this annotation is whenHasQualifierParameteris enabled by default, by writingHasQualifierParameteron a package.When a class is
@NoQualifierParameter, all its subclasses are as well.One or more top qualifiers must be given for the hierarchies for which there are no qualifier parameters. This annotation may not be written on the same class as
HasQualifierParameterfor the same hierarchy.It is an error for a superclass to be
@HasQualifierParameterbut a subclass to be@NoQualifierParameterfor the same hierarchy.- See Also:
HasQualifierParameter
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends java.lang.annotation.Annotation>[]valueClass of the top qualifier for the hierarchy for which this class has no qualifier parameter.
-