| spoon.aval.annotation.value.Unique
Unique | public @interface Unique(Code) | | Validator that checks that the value of the annotation is unique (i.e. that
no other annotation of the same type in the application uses the same value).
For example, if the
value() of an annotation @A must be unique,
the definition of @A must be:
public @interface A {
@Unique()
String value();
}
See Also: spoon.aval.support.validator.UniqueValueValidator |
message | String message(Code) | | Message to report when validation fails
|
scope | Class<? extends CtElement> scope(Code) | | Scope in which the value will be checked for uniqueness. By default, the
scope is the program's source code.
Scopes can be either CtPackage, CtType or CtMethod meaning the containing
package, type (class interface), or method.
|
|
|