Class AnnotationProperties

java.lang.Object
nl.jqno.equalsverifier.internal.reflection.annotations.AnnotationProperties

public class AnnotationProperties extends Object
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 Details

    • AnnotationProperties

      public AnnotationProperties(String className)
      Constructor.
      Parameters:
      className - The annotation's className string.
  • Method Details

    • getClassName

      public String getClassName()
      Returns:
      the annotation's className string.
    • putEnumValue

      public void putEnumValue(String name, String value)
      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

      public String getEnumValue(String name)
      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

      public void putArrayValues(String name, Set<String> values)
      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

      public Set<String> getArrayValues(String name)
      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.