public final class AnnotationElement extends AbstractJavaElement implements org.revapi.java.spi.JavaAnnotationElement
archive, environment
Constructor and Description |
---|
AnnotationElement(ProbingEnvironment environment,
org.revapi.Archive archive,
AnnotationMirror annotation) |
Modifier and Type | Method and Description |
---|---|
AnnotationElement |
clone() |
int |
compareTo(org.revapi.Element o) |
AnnotationMirror |
getAnnotation() |
org.revapi.API |
getApi() |
SortedSet<AnnotationElement> |
getChildren() |
String |
getFullHumanReadableString() |
org.revapi.java.spi.JavaModelElement |
getParent() |
org.revapi.java.spi.TypeEnvironment |
getTypeEnvironment() |
String |
toString() |
getArchive, setArchive
getDirectChildrenOfType, iterateOverChildren, newChildrenInstance, searchChildren, searchChildren, setParent
public AnnotationElement(ProbingEnvironment environment, org.revapi.Archive archive, AnnotationMirror annotation)
@Nonnull public org.revapi.java.spi.JavaModelElement getParent()
getParent
in interface org.revapi.Element
getParent
in interface org.revapi.java.spi.JavaAnnotationElement
getParent
in class org.revapi.simple.SimpleElement
@Nonnull public org.revapi.API getApi()
getApi
in interface org.revapi.Element
@Nonnull public SortedSet<AnnotationElement> getChildren()
getChildren
in interface org.revapi.Element
getChildren
in interface org.revapi.java.spi.JavaElement
getChildren
in class AbstractJavaElement
@Nonnull public AnnotationMirror getAnnotation()
getAnnotation
in interface org.revapi.java.spi.JavaAnnotationElement
@Nonnull public org.revapi.java.spi.TypeEnvironment getTypeEnvironment()
getTypeEnvironment
in interface org.revapi.java.spi.JavaElement
getTypeEnvironment
in class AbstractJavaElement
public int compareTo(@Nonnull org.revapi.Element o)
compareTo
in interface Comparable<org.revapi.Element>
@Nonnull public String getFullHumanReadableString()
getFullHumanReadableString
in interface org.revapi.Element
getFullHumanReadableString
in class org.revapi.simple.SimpleElement
public AnnotationElement clone()
clone
in class org.revapi.simple.SimpleElement
Copyright © 2014-2020 Lukas Krejci. All Rights Reserved.