- All Known Subinterfaces:
QualifierAndValue
- All Known Implementing Classes:
DefaultAnnotationAndValue,DefaultQualifierAndValue,Qualifier
public interface AnnotationAndValue
Represents an annotation along with its value(s).
-
Method Details
-
typeName
TypeName typeName()The type name, e.g.,Objects-> "java.util.Objects".- Returns:
- the annotation type name
-
value
The value property.- Returns:
- The string value of value property
-
value
Get a value of an annotation property.- Parameters:
name- name of the annotation property- Returns:
- string value of the property
-
values
Get a key-value of all the annotation properties.- Returns:
- key-value pairs of all the properties present
-