@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface NoQualifierParameter
HasQualifierParameter
is enabled by default, by writing HasQualifierParameter
on 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 HasQualifierParameter
for the same hierarchy.
It is an error for a superclass to be @HasQualifierParameter
but a subclass to be
@NoQualifierParameter
for the same hierarchy.
HasQualifierParameter
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Annotation>[] |
value
Class of the top qualifier for the hierarchy for which this class has no qualifier parameter.
|
public abstract Class<? extends Annotation>[] value