public final class AnnotationElement extends AbstractJavaElement implements org.revapi.java.spi.JavaAnnotationElement
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.java.spi.JavaElement o) |
AnnotationMirror |
getAnnotation() |
org.revapi.API |
getApi() |
String |
getFullHumanReadableString() |
org.revapi.java.spi.JavaModelElement |
getParent() |
org.revapi.java.spi.TypeEnvironment |
getTypeEnvironment() |
String |
toString() |
setArchivecastThis, getArchive, getChildren, iterateOverChildren, newChildrenInstance, searchChildren, searchChildren, setParentpublic AnnotationElement(ProbingEnvironment environment, org.revapi.Archive archive, AnnotationMirror annotation)
@Nonnull public org.revapi.java.spi.JavaModelElement getParent()
getParent in interface org.revapi.Element<org.revapi.java.spi.JavaElement>getParent in interface org.revapi.java.spi.JavaAnnotationElementgetParent in class org.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>@Nonnull public org.revapi.API getApi()
getApi in interface org.revapi.Element<org.revapi.java.spi.JavaElement>getApi in class org.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>@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.JavaElementgetTypeEnvironment in class AbstractJavaElementpublic int compareTo(@Nonnull org.revapi.java.spi.JavaElement o)
compareTo in interface Comparable<org.revapi.java.spi.JavaElement>@Nonnull public String getFullHumanReadableString()
getFullHumanReadableString in interface org.revapi.Element<org.revapi.java.spi.JavaElement>getFullHumanReadableString in class org.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>public AnnotationElement clone()
clone in class org.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.