Class AnnotationProperties
java.lang.Object
nl.jqno.equalsverifier.internal.reflection.annotations.AnnotationProperties
Contains all properties of an annotation necessary to to make decisions about that annotation.
Note that this object does not contain all possible properties; only the ones that are actually used by EqualsVerifier.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArrayValues
(String name) Retrieves the content of an array value property.getEnumValue
(String name) Retrieves the content of an enum value property.void
putArrayValues
(String name, Set<String> values) Adds the content of an array value property.void
putEnumValue
(String name, String value) Adds the content of an enum value property.
-
Constructor Details
-
AnnotationProperties
Constructor.- Parameters:
className
- The annotation's className string.
-
-
Method Details
-
getClassName
- Returns:
- the annotation's className string.
-
putEnumValue
Adds the content of an enum value property.- Parameters:
name
- The name of the enum value property.value
- The content of the enum value property.
-
getEnumValue
Retrieves the content of an enum value property.- Parameters:
name
- The name of the enum value property.- Returns:
- The content of the enum value property.
-
putArrayValues
Adds the content of an array value property.- Parameters:
name
- The name of the array value property.values
- The content of the array value property.
-
getArrayValues
Retrieves the content of an array value property.- Parameters:
name
- The name of the array value property.- Returns:
- The content of the array value property.
-