Class AnnotationElement
java.lang.Object
org.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>
org.revapi.java.model.AbstractJavaElement
org.revapi.java.model.AnnotationElement
- All Implemented Interfaces:
Cloneable
,Comparable<org.revapi.java.spi.JavaElement>
,org.revapi.Element<org.revapi.java.spi.JavaElement>
,org.revapi.java.spi.JavaAnnotationElement
,org.revapi.java.spi.JavaElement
public final class AnnotationElement
extends AbstractJavaElement
implements org.revapi.java.spi.JavaAnnotationElement
- Since:
- 0.1
- Author:
- Lukas Krejci
-
Field Summary
Fields inherited from class org.revapi.java.model.AbstractJavaElement
environment
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationElement
(ProbingEnvironment environment, org.revapi.Archive archive, AnnotationMirror annotation) -
Method Summary
Methods inherited from class org.revapi.java.model.AbstractJavaElement
newReference, setArchive
Methods inherited from class org.revapi.base.BaseElement
castThis, getArchive, getChildren, getReferencedElements, getReferencingElements, iterateOverChildren, newChildrenInstance, searchChildren, searchChildren, setParent
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.revapi.Element
as, getArchive, getChildren, getCumulativeReferencedElements, getCumulativeReferencingElements, getReferencedElements, getReferencingElements, iterateOverChildren, searchChildren, searchChildren, setParent, stream
-
Constructor Details
-
AnnotationElement
public AnnotationElement(ProbingEnvironment environment, org.revapi.Archive archive, AnnotationMirror annotation)
-
-
Method Details
-
getParent
- Specified by:
getParent
in interfaceorg.revapi.Element<org.revapi.java.spi.JavaElement>
- Specified by:
getParent
in interfaceorg.revapi.java.spi.JavaAnnotationElement
- Overrides:
getParent
in classorg.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>
-
getApi
- Specified by:
getApi
in interfaceorg.revapi.Element<org.revapi.java.spi.JavaElement>
- Overrides:
getApi
in classorg.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>
-
getAnnotation
- Specified by:
getAnnotation
in interfaceorg.revapi.java.spi.JavaAnnotationElement
-
getTypeEnvironment
- Specified by:
getTypeEnvironment
in interfaceorg.revapi.java.spi.JavaElement
- Overrides:
getTypeEnvironment
in classAbstractJavaElement
-
compareTo
- Specified by:
compareTo
in interfaceComparable<org.revapi.java.spi.JavaElement>
-
getFullHumanReadableString
-
toString
-
clone
- Overrides:
clone
in classorg.revapi.base.BaseElement<org.revapi.java.spi.JavaElement>
-