|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationConstraints
AnnotationConstraints defines meta-annotations that allow
specification of additional constraints that aren't
expressible using J2SE 5.0 meta-annotations.
Actual enforcement of these semantics is implementation dependent.
An apt
-based reference implementation is provided by
AnnotationConstraintValidator
.
AnnotationConstraintValidator
Nested Class Summary | |
---|---|
static interface |
AnnotationConstraints.AllowExternalOverride
Defines whether the annotation decorated by this annotation can overriden externally (a marker interface). |
static interface |
AnnotationConstraints.MembershipRule
Provides a mechanism for enforcing constraints between members of an annotation (such a mechanism is absent from J2SE 5.0; for example, given an annotation with members 'a' and 'b' there is no way to say that they are mutually exclusive). |
static class |
AnnotationConstraints.MembershipRuleValues
Defines a number of simple constraints on the way annotation members can be used together. |
static interface |
AnnotationConstraints.RequiredRuntimeVersion
Specifies the version of the control runtime required by this annotation. |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |