public class AnnotationImpl extends java.lang.Object implements Annotation
Constructor and Description |
---|
AnnotationImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addElement(AnnotationElement<?> element)
Add an annotation element (e.g., frequency annotation, elapsed time)
The element should provide its own name (to be stored here)
|
boolean |
containsElement(java.lang.String elementName) |
AnnotationElement<?> |
getElement(java.lang.String elementName) |
java.util.Set<java.lang.String> |
getElementNames() |
public void addElement(AnnotationElement<?> element)
Annotation
addElement
in interface Annotation
public java.util.Set<java.lang.String> getElementNames()
getElementNames
in interface Annotation
public boolean containsElement(java.lang.String elementName)
containsElement
in interface Annotation
public AnnotationElement<?> getElement(java.lang.String elementName)
getElement
in interface Annotation