public abstract class AbstractJavaElement
extends org.revapi.simple.SimpleElement
implements org.revapi.java.spi.JavaElement
AnnotationElement
and JavaElementBase
to stuff that they share.Modifier and Type | Field and Description |
---|---|
protected org.revapi.Archive |
archive |
protected ProbingEnvironment |
environment |
Modifier | Constructor and Description |
---|---|
protected |
AbstractJavaElement(ProbingEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
org.revapi.Archive |
getArchive() |
SortedSet<? extends org.revapi.java.spi.JavaElement> |
getChildren() |
org.revapi.java.spi.TypeEnvironment |
getTypeEnvironment() |
void |
setArchive(org.revapi.Archive archive) |
clone, getDirectChildrenOfType, getFullHumanReadableString, getParent, iterateOverChildren, newChildrenInstance, searchChildren, searchChildren, setParent
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
as, getApi, getFullHumanReadableString, getParent, iterateOverChildren, searchChildren, searchChildren, setParent
compareTo
protected org.revapi.Archive archive
protected final ProbingEnvironment environment
protected AbstractJavaElement(ProbingEnvironment environment)
@Nonnull public org.revapi.java.spi.TypeEnvironment getTypeEnvironment()
getTypeEnvironment
in interface org.revapi.java.spi.JavaElement
@Nullable public org.revapi.Archive getArchive()
getArchive
in interface org.revapi.Element
@Nonnull public SortedSet<? extends org.revapi.java.spi.JavaElement> getChildren()
getChildren
in interface org.revapi.Element
getChildren
in interface org.revapi.java.spi.JavaElement
getChildren
in class org.revapi.simple.SimpleElement
public void setArchive(@Nullable org.revapi.Archive archive)
Copyright © 2014-2020 Lukas Krejci. All Rights Reserved.