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