|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Annotation
Describes an annotation that can be recognised by EqualsVerifier.
The annotation can have RetentionPolicy.RUNTIME
or
RetentionPolicy.CLASS
, and must have either ElementType.TYPE
or ElementType.FIELD
.
Method Summary | |
---|---|
Iterable<String> |
descriptors()
One or more strings that contain the annotation's class name. |
boolean |
inherits()
Whether the annotation applies to the class in which is appears only, or whether it applies to that class and all its subclasses. |
boolean |
validate(AnnotationProperties properties)
Validates the annotation based on its properties. |
Method Detail |
---|
Iterable<String> descriptors()
Annotation
instance.
boolean inherits()
boolean validate(AnnotationProperties properties)
properties
- An object that contains information about the annotation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |