Package org.revapi.java.spi
package org.revapi.java.spi
-
ClassDescriptionAn interface that java API checkers need to implement.A basic implementation of the
Check
interface.CheckBase.ActiveElements<T extends JavaElement>Represents the elements that have beenpushed
onto the active elements stack.The is a list of all difference codes Revapi's Java extension can emit.Can be used by various checks and problem transformations to work with two elements of the same type.A utility class to try to overcome theCompletionFailure
exceptions thrown from the Java compiler.IgnoreCompletionFailures.Fn2<R,T1, T2> IgnoreCompletionFailures.Fn3<R,T1, T2, T3> IgnoreCompletionFailures.VoidFn3<T1,T2, T3> The role of the jar extractor is to find class files in an archive that should be considered for API analysis.Elements in the element forest that correspond to a Java annotation will implement this interface.Base interface that all Revapi elements modelling the Java AST satisfy.Elements in the element forest that represent Java fields, will implement this interface.Elements in the element forest that represent Java methods, will implement this interface.Elements in the element forest that represent Java method parameters, will implement this interface.All elements corresponding to various Java language model (apart from annotations (seeJavaAnnotationElement
)), i.e.Elements in the element forest that represent Java types, will implement this interface.This interface mimics (to an extent) theProcessingEnvironment
and serves the same purpose.Similar toElementPairVisitor
but provides a visitor to visit two type mirrors of the same type.The way the used class is used by the use site.A random assortment of methods to help with implementing the Java API checks made public so that extenders don't have to reinvent the wheel.