nl.jqno.equalsverifier.util.annotations
Class AnnotationProperties

java.lang.Object
  extended by nl.jqno.equalsverifier.util.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 Summary
AnnotationProperties(String descriptor)
          Constructor.
 
Method Summary
 Set<Object> getArrayValues(String name)
          Retrieves the content of an array value property.
 String getDescriptor()
          Getter.
 void putArrayValues(String name, Set<Object> values)
          Adds the content of an array value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationProperties

public AnnotationProperties(String descriptor)
Constructor.

Parameters:
descriptor - The annotation's descriptor string.
Method Detail

getDescriptor

public String getDescriptor()
Getter.


putArrayValues

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


Copyright © 2015. All Rights Reserved.