Interface JavaAnnotationElement
- All Superinterfaces:
Comparable<JavaElement>,org.revapi.Element<JavaElement>,JavaElement
Elements in the element forest that correspond to a Java annotation will implement this interface.
- Since:
- 0.1
- Author:
- Lukas Krejci
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.revapi.Element
as, getApi, getArchive, getChildren, getCumulativeReferencedElements, getCumulativeReferencingElements, getFullHumanReadableString, getReferencedElements, getReferencingElements, iterateOverChildren, searchChildren, searchChildren, setParent, streamMethods inherited from interface org.revapi.java.spi.JavaElement
getTypeEnvironment
-
Method Details
-
getAnnotation
AnnotationMirror getAnnotation()- Returns:
- the corresponding annotation mirror
-
getParent
JavaModelElement getParent()- Specified by:
getParentin interfaceorg.revapi.Element<JavaElement>
-