Uses of Interface
org.revapi.java.spi.JavaElement
-
Uses of JavaElement in org.revapi.java.spi
Classes in org.revapi.java.spi with type parameters of type JavaElementModifier and TypeClassDescriptionprotected static class
CheckBase.ActiveElements<T extends JavaElement>
Represents the elements that have beenpushed
onto the active elements stack.Subinterfaces of JavaElement in org.revapi.java.spiModifier and TypeInterfaceDescriptioninterface
Elements in the element forest that correspond to a Java annotation will implement this interface.interface
Elements in the element forest that represent Java fields, will implement this interface.interface
Elements in the element forest that represent Java methods, will implement this interface.interface
Elements in the element forest that represent Java method parameters, will implement this interface.interface
All elements corresponding to various Java language model (apart from annotations (seeJavaAnnotationElement
)), i.e.interface
Elements in the element forest that represent Java types, will implement this interface.Subclasses with type arguments of type JavaElement in org.revapi.java.spiSubinterfaces with type arguments of type JavaElement in org.revapi.java.spiModifier and TypeInterfaceDescriptioninterface
Base interface that all Revapi elements modelling the Java AST satisfy.Classes in org.revapi.java.spi that implement interfaces with type arguments of type JavaElementModifier and TypeClassDescriptionstatic enum
The way the used class is used by the use site.Fields in org.revapi.java.spi declared as JavaElementModifier and TypeFieldDescriptionfinal T
CheckBase.ActiveElements.newElement
final T
CheckBase.ActiveElements.oldElement
Methods in org.revapi.java.spi with type parameters of type JavaElementModifier and TypeMethodDescriptionstatic <T extends JavaElement>
LinkedHashMap<String, String> Code.attachmentsFor
(T oldElement, T newElement, String... customAttachments) protected <T extends JavaElement>
CheckBase.ActiveElements<T> CheckBase.popIfActive()
Pops the top of the stack of active elements if the current position in the call stack corresponds to the one that pushed the active elements.protected <T extends JavaElement>
CheckBase.ActiveElements<T> CheckBase.popIfActive
(Class<T> type) Pops the top of the stack of the active elements if the current position in the call stack corresponds to the one that pushed the active elements.protected final <T extends JavaElement>
voidCheckBase.pushActive
(T oldElement, T newElement, Object... context) If called in one of thedoVisit*()
methods, this method will push the elements along with some contextual data onto an internal stack.Constructors in org.revapi.java.spi with parameters of type JavaElement