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