Class Annotation
java.lang.Object
de.uni_freiburg.informatik.ultimate.logic.Annotation
public class Annotation
extends java.lang.Object
Representation of an annotation in a formula. Note that the keys ":named",
and ":pattern" have special meaning as described in the SMTLIB version 2
standard.
- Author:
- Jochen Hoenicke
-
Constructor Summary
Constructors Constructor Description Annotation(java.lang.String key, java.lang.Object value) -
Method Summary
-
Constructor Details
-
Annotation
public Annotation(java.lang.String key, java.lang.Object value)
-
-
Method Details
-
getKey
public java.lang.String getKey()Returns the key of the annotation. This includes the colon, with which each annotation starts.- Returns:
- the key of the annotation.
-
getValue
public java.lang.Object getValue()Returns the value of the annotation. This is null for the empty annotation. The object depends on the type of the annotation. It can be a term (constants, patterns) a simple string, or an array of terms/strings/arrays.- Returns:
- the value of the annotation.
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-