public abstract class JavaElementBase<E extends Element,T extends TypeMirror>
extends org.revapi.simple.SimpleElement
implements org.revapi.java.spi.JavaModelElement
| Modifier and Type | Field and Description |
|---|---|
protected E |
element |
protected ProbingEnvironment |
environment |
protected T |
representation |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(org.revapi.Element o) |
protected abstract String |
createComparableSignature() |
protected String |
createFullHumanReadableString() |
boolean |
equals(Object obj) |
org.revapi.API |
getApi() |
org.revapi.Archive |
getArchive() |
SortedSet<org.revapi.java.spi.JavaElement> |
getChildren() |
protected String |
getComparableSignature() |
E |
getDeclaringElement() |
String |
getFullHumanReadableString() |
protected abstract String |
getHumanReadableElementType() |
T |
getModelRepresentation() |
org.revapi.java.spi.JavaModelElement |
getParent() |
org.revapi.java.spi.TypeEnvironment |
getTypeEnvironment() |
int |
hashCode() |
boolean |
isInherited() |
void |
setInherited(boolean inherited) |
void |
setParent(org.revapi.Element parent) |
String |
toString() |
getDirectChildrenOfType, iterateOverChildren, newChildrenInstance, searchChildren, searchChildrenprotected final ProbingEnvironment environment
protected final T extends TypeMirror representation
@Nullable public org.revapi.java.spi.JavaModelElement getParent()
getParent in interface org.revapi.ElementgetParent in interface org.revapi.java.spi.JavaModelElementgetParent in class org.revapi.simple.SimpleElementpublic void setParent(@Nullable org.revapi.Element parent)
setParent in interface org.revapi.ElementsetParent in class org.revapi.simple.SimpleElement@Nonnull public org.revapi.API getApi()
getApi in interface org.revapi.Element@Nullable public org.revapi.Archive getArchive()
getArchive in interface org.revapi.Elementpublic int compareTo(@Nonnull org.revapi.Element o)
compareTo in interface Comparable<org.revapi.Element>@Nonnull public org.revapi.java.spi.TypeEnvironment getTypeEnvironment()
getTypeEnvironment in interface org.revapi.java.spi.JavaElementpublic E getDeclaringElement()
getDeclaringElement in interface org.revapi.java.spi.JavaModelElementpublic T getModelRepresentation()
getModelRepresentation in interface org.revapi.java.spi.JavaModelElement@Nonnull public SortedSet<org.revapi.java.spi.JavaElement> getChildren()
getChildren in interface org.revapi.ElementgetChildren in class org.revapi.simple.SimpleElementpublic boolean isInherited()
isInherited in interface org.revapi.java.spi.JavaModelElementpublic void setInherited(boolean inherited)
@Nonnull public final String getFullHumanReadableString()
getFullHumanReadableString in interface org.revapi.ElementgetFullHumanReadableString in class org.revapi.simple.SimpleElementprotected String createFullHumanReadableString()
protected String getComparableSignature()
protected abstract String createComparableSignature()
Copyright © 2016 Lukas Krejci. All Rights Reserved.