Class ArrayAnnotationValue
- java.lang.Object
-
- it.unive.lisa.program.annotations.values.ArrayAnnotationValue
-
- All Implemented Interfaces:
AnnotationValue,java.lang.Comparable<AnnotationValue>
public class ArrayAnnotationValue extends java.lang.Object implements AnnotationValue
An array annotation value.
-
-
Constructor Summary
Constructors Constructor Description ArrayAnnotationValue(BasicAnnotationValue[] arr)Builds an array annotation value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AnnotationValue o)booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ArrayAnnotationValue
public ArrayAnnotationValue(BasicAnnotationValue[] arr)
Builds an array annotation value.- Parameters:
arr- the array of basic annotation values
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(AnnotationValue o)
- Specified by:
compareToin interfacejava.lang.Comparable<AnnotationValue>
-
-