com.atlassian.clover.api.registry
Interface Annotation


public interface Annotation

Represents an annotation.


Method Summary
 AnnotationValue getAttribute(java.lang.String attributeName)
           
 java.util.Map<java.lang.String,AnnotationValue> getAttributes()
          Returns map of attributes for this annotation (or an empty map if no attribute is defined)
 java.lang.String getName()
           
 void setName(java.lang.String annotationName)
           
 

Method Detail

getAttribute

@Nullable
AnnotationValue getAttribute(@NotNull
                                      java.lang.String attributeName)

getAttributes

@NotNull
java.util.Map<java.lang.String,AnnotationValue> getAttributes()
Returns map of attributes for this annotation (or an empty map if no attribute is defined)

Returns:
Map<String, AnnotationValue> attributes

getName

@NotNull
java.lang.String getName()

setName

void setName(@NotNull
             java.lang.String annotationName)