A C D E F G H I J K M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ANNOTATES - org.revapi.java.spi.UseSite.Type
-
The used class annotates the use site.
- ANNOTATION - org.revapi.java.spi.Check.Type
- ANNOTATION_ADDED - org.revapi.java.spi.Code
- ANNOTATION_ATTRIBUTE_ADDED - org.revapi.java.spi.Code
- ANNOTATION_ATTRIBUTE_REMOVED - org.revapi.java.spi.Code
- ANNOTATION_ATTRIBUTE_VALUE_CHANGED - org.revapi.java.spi.Code
- ANNOTATION_NO_LONGER_INHERITED - org.revapi.java.spi.Code
- ANNOTATION_NOW_INHERITED - org.revapi.java.spi.Code
- ANNOTATION_REMOVED - org.revapi.java.spi.Code
- attachmentsFor(T, T, String...) - Static method in enum org.revapi.java.spi.Code
C
- call() - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn0
- call() - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.VoidFn0
- call(T) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn1
- call(T) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.VoidFn1
- call(T1, T2) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn2
- call(T1, T2) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.VoidFn2
- call(T1, T2, T3) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn3
- call(T1, T2, T3) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.VoidFn3
- Check - Interface in org.revapi.java.spi
-
An interface that java API checkers need to implement.
- Check.Type - Enum in org.revapi.java.spi
- CheckBase - Class in org.revapi.java.spi
-
A basic implementation of the
Check
interface. - CheckBase() - Constructor for class org.revapi.java.spi.CheckBase
- CheckBase.ActiveElements<T extends JavaElement> - Class in org.revapi.java.spi
-
Represents the elements that have been
pushed
onto the active elements stack. - CLASS - org.revapi.java.spi.Check.Type
- CLASS_ADDED - org.revapi.java.spi.Code
- CLASS_DEFAULT_SERIALIZATION_CHANGED - org.revapi.java.spi.Code
- CLASS_EXTERNAL_CLASS_EXPOSED_IN_API - org.revapi.java.spi.Code
- CLASS_EXTERNAL_CLASS_NO_LONGER_EXPOSED_IN_API - org.revapi.java.spi.Code
- CLASS_FINAL_CLASS_INHERITS_FROM_NEW_CLASS - org.revapi.java.spi.Code
- CLASS_KIND_CHANGED - org.revapi.java.spi.Code
- CLASS_NO_LONGER_ABSTRACT - org.revapi.java.spi.Code
- CLASS_NO_LONGER_FINAL - org.revapi.java.spi.Code
- CLASS_NO_LONGER_IMPLEMENTS_INTERFACE - org.revapi.java.spi.Code
- CLASS_NO_LONGER_INHERITS_FROM_CLASS - org.revapi.java.spi.Code
- CLASS_NON_FINAL_CLASS_INHERITS_FROM_NEW_CLASS - org.revapi.java.spi.Code
- CLASS_NON_PUBLIC_PART_OF_API - org.revapi.java.spi.Code
- CLASS_NOW_ABSTRACT - org.revapi.java.spi.Code
- CLASS_NOW_CHECKED_EXCEPTION - org.revapi.java.spi.Code
- CLASS_NOW_FINAL - org.revapi.java.spi.Code
- CLASS_NOW_IMPLEMENTS_INTERFACE - org.revapi.java.spi.Code
- CLASS_REMOVED - org.revapi.java.spi.Code
- CLASS_SUPER_TYPE_TYPE_PARAMETERS_CHANGED - org.revapi.java.spi.Code
- CLASS_VISIBILITY_INCREASED - org.revapi.java.spi.Code
- CLASS_VISIBILITY_REDUCED - org.revapi.java.spi.Code
- code() - Method in enum org.revapi.java.spi.Code
- Code - Enum in org.revapi.java.spi
-
The is a list of all difference codes Revapi's Java extension can emit.
- CONTAINS - org.revapi.java.spi.UseSite.Type
-
The used class contains the use site (inner class).
- context - Variable in class org.revapi.java.spi.CheckBase.ActiveElements
- createDifference(Locale) - Method in enum org.revapi.java.spi.Code
- createDifference(Locale, LinkedHashMap<String, String>) - Method in enum org.revapi.java.spi.Code
- createDifference(Locale, LinkedHashMap<String, String>, String...) - Method in enum org.revapi.java.spi.Code
- createDifference(Code, LinkedHashMap<String, String>) - Method in class org.revapi.java.spi.CheckBase
- createDifferenceWithExplicitParams(Code, LinkedHashMap<String, String>, String...) - Method in class org.revapi.java.spi.CheckBase
D
- defaultMatchAction(Element, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- defaultMatchAction(TypeMirror, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- doEnd() - Method in class org.revapi.java.spi.CheckBase
- doVisitAnnotation(JavaAnnotationElement, JavaAnnotationElement) - Method in class org.revapi.java.spi.CheckBase
- doVisitClass(JavaTypeElement, JavaTypeElement) - Method in class org.revapi.java.spi.CheckBase
- doVisitField(JavaFieldElement, JavaFieldElement) - Method in class org.revapi.java.spi.CheckBase
- doVisitMethod(JavaMethodElement, JavaMethodElement) - Method in class org.revapi.java.spi.CheckBase
- doVisitMethodParameter(JavaMethodParameterElement, JavaMethodParameterElement) - Method in class org.revapi.java.spi.CheckBase
E
- ELEMENT_NO_LONGER_DEPRECATED - org.revapi.java.spi.Code
- ELEMENT_NOW_DEPRECATED - org.revapi.java.spi.Code
- ElementPairVisitor<R> - Class in org.revapi.java.spi
-
Can be used by various checks and problem transformations to work with two elements of the same type.
- ElementPairVisitor() - Constructor for class org.revapi.java.spi.ElementPairVisitor
- extract(Archive) - Method in interface org.revapi.java.spi.JarExtractor
-
Tries to transform the data of the archive such that it looks like a simple jar file to the analyzer.
F
- FIELD - org.revapi.java.spi.Check.Type
- FIELD_ADDED - org.revapi.java.spi.Code
- FIELD_ADDED_STATIC_FIELD - org.revapi.java.spi.Code
- FIELD_CONSTANT_REMOVED - org.revapi.java.spi.Code
- FIELD_CONSTANT_VALUE_CHANGED - org.revapi.java.spi.Code
- FIELD_ENUM_CONSTANT_ORDER_CHANGED - org.revapi.java.spi.Code
- FIELD_INHERITED_NOW_DECLARED - org.revapi.java.spi.Code
- FIELD_MOVED_TO_SUPER_CLASS - org.revapi.java.spi.Code
- FIELD_NO_LONGER_CONSTANT - org.revapi.java.spi.Code
- FIELD_NO_LONGER_FINAL - org.revapi.java.spi.Code
- FIELD_NO_LONGER_STATIC - org.revapi.java.spi.Code
- FIELD_NOW_CONSTANT - org.revapi.java.spi.Code
- FIELD_NOW_FINAL - org.revapi.java.spi.Code
- FIELD_NOW_STATIC - org.revapi.java.spi.Code
- FIELD_REMOVED - org.revapi.java.spi.Code
- FIELD_SERIAL_VERSION_UID_CHANGED - org.revapi.java.spi.Code
- FIELD_SERIAL_VERSION_UID_UNCHANGED - org.revapi.java.spi.Code
- FIELD_TYPE_CHANGED - org.revapi.java.spi.Code
- FIELD_VISIBILITY_INCREASED - org.revapi.java.spi.Code
- FIELD_VISIBILITY_REDUCED - org.revapi.java.spi.Code
- fillAllSuperInterfaces(Types, TypeMirror, List<TypeMirror>) - Static method in class org.revapi.java.spi.Util
- fillAllSuperTypes(Types, TypeMirror, List<TypeMirror>) - Static method in class org.revapi.java.spi.Util
-
Similar to
Util.getAllSuperTypes(javax.lang.model.util.Types, javax.lang.model.type.TypeMirror)
but avoids instantiation of a new list. - findTypeByBinaryName(Elements, String) - Static method in class org.revapi.java.spi.Util
-
Tries to find a type element using the provided Elements helper given its binary name.
- fromCode(String) - Static method in enum org.revapi.java.spi.Code
G
- GENERICS_ELEMENT_NOW_PARAMETERIZED - org.revapi.java.spi.Code
- GENERICS_FORMAL_TYPE_PARAMETER_ADDED - org.revapi.java.spi.Code
- GENERICS_FORMAL_TYPE_PARAMETER_CHANGED - org.revapi.java.spi.Code
- GENERICS_FORMAL_TYPE_PARAMETER_REMOVED - org.revapi.java.spi.Code
- getAllSuperClasses(Types, TypeMirror) - Static method in class org.revapi.java.spi.Util
-
Returns all the super classes of given type.
- getAllSuperInterfaces(Types, TypeMirror) - Static method in class org.revapi.java.spi.Util
- getAllSuperTypes(Types, TypeMirror) - Static method in class org.revapi.java.spi.Util
-
Similar to
Util.getAllSuperClasses(javax.lang.model.util.Types, javax.lang.model.type.TypeMirror)
but returns all super types including implemented interfaces. - getAnalysisContext() - Method in class org.revapi.java.spi.CheckBase
- getAnnotation() - Method in interface org.revapi.java.spi.JavaAnnotationElement
- getDeclaringElement() - Method in interface org.revapi.java.spi.JavaFieldElement
- getDeclaringElement() - Method in interface org.revapi.java.spi.JavaMethodElement
- getDeclaringElement() - Method in interface org.revapi.java.spi.JavaMethodParameterElement
- getDeclaringElement() - Method in interface org.revapi.java.spi.JavaModelElement
-
For an inherited method for example, this will return the element in the super type that declares this method.
- getDeclaringElement() - Method in interface org.revapi.java.spi.JavaTypeElement
- getElementUtils() - Method in interface org.revapi.java.spi.TypeEnvironment
- getExtensionId() - Method in class org.revapi.java.spi.CheckBase
- getIndex() - Method in interface org.revapi.java.spi.JavaMethodParameterElement
- getInterest() - Method in interface org.revapi.java.spi.Check
-
Each check typically checks only a single type of java element - a method or an annotation - but may be interested in more.
- getJSONSchema() - Method in class org.revapi.java.spi.CheckBase
- getModelElement(TypeElement) - Method in interface org.revapi.java.spi.TypeEnvironment
-
Returns full Revapi representation of the provided java type.
- getModelElement(TypeMirror) - Method in interface org.revapi.java.spi.TypeEnvironment
-
A variant of
TypeEnvironment.getModelElement(TypeElement)
that accepts a type mirror. - getModelRepresentation() - Method in interface org.revapi.java.spi.JavaMethodElement
- getModelRepresentation() - Method in interface org.revapi.java.spi.JavaModelElement
-
Note that this is distinctly different from
JavaModelElement.getDeclaringElement()
. - getModelRepresentation() - Method in interface org.revapi.java.spi.JavaTypeElement
- getName() - Method in enum org.revapi.java.spi.UseSite.Type
- getNewTypeEnvironment() - Method in class org.revapi.java.spi.CheckBase
- getOldTypeEnvironment() - Method in class org.revapi.java.spi.CheckBase
- getParent() - Method in interface org.revapi.java.spi.JavaAnnotationElement
- getParent() - Method in interface org.revapi.java.spi.JavaFieldElement
- getParent() - Method in interface org.revapi.java.spi.JavaMethodElement
- getParent() - Method in interface org.revapi.java.spi.JavaMethodParameterElement
- getParent() - Method in interface org.revapi.java.spi.JavaModelElement
- getParentType() - Method in interface org.revapi.java.spi.JavaModelElement
- getType() - Method in class org.revapi.java.spi.UseSite
- getTypeEnvironment() - Method in interface org.revapi.java.spi.JavaElement
- getTypeUtils() - Method in interface org.revapi.java.spi.TypeEnvironment
H
- HAS_TYPE - org.revapi.java.spi.UseSite.Type
-
The use site (field) has the type of the used class.
I
- IgnoreCompletionFailures - Class in org.revapi.java.spi
-
A utility class to try to overcome the
CompletionFailure
exceptions thrown from the Java compiler. - IgnoreCompletionFailures.Fn0<R> - Interface in org.revapi.java.spi
- IgnoreCompletionFailures.Fn1<R,T> - Interface in org.revapi.java.spi
- IgnoreCompletionFailures.Fn2<R,T1,T2> - Interface in org.revapi.java.spi
- IgnoreCompletionFailures.Fn3<R,T1,T2,T3> - Interface in org.revapi.java.spi
- IgnoreCompletionFailures.VoidFn0 - Interface in org.revapi.java.spi
- IgnoreCompletionFailures.VoidFn1<T> - Interface in org.revapi.java.spi
- IgnoreCompletionFailures.VoidFn2<T1,T2> - Interface in org.revapi.java.spi
- IgnoreCompletionFailures.VoidFn3<T1,T2,T3> - Interface in org.revapi.java.spi
- in(IgnoreCompletionFailures.Fn0<R>) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- in(IgnoreCompletionFailures.Fn1<R, T>, T) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- in(IgnoreCompletionFailures.Fn2<R, T1, T2>, T1, T2) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- in(IgnoreCompletionFailures.Fn3<R, T1, T2, T3>, T1, T2, T3) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- initialize(AnalysisContext) - Method in class org.revapi.java.spi.CheckBase
- inVoid(IgnoreCompletionFailures.VoidFn0) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- inVoid(IgnoreCompletionFailures.VoidFn1<T>, T) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- inVoid(IgnoreCompletionFailures.VoidFn2<T1, T2>, T1, T2) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- inVoid(IgnoreCompletionFailures.VoidFn3<T1, T2, T3>, T1, T2, T3) - Static method in class org.revapi.java.spi.IgnoreCompletionFailures
- IS_IMPLEMENTED - org.revapi.java.spi.UseSite.Type
-
The used class is implemented by the use site (class).
- IS_INHERITED - org.revapi.java.spi.UseSite.Type
-
The used class is inherited by the use site (class).
- IS_THROWN - org.revapi.java.spi.UseSite.Type
-
The use site (method) throws exceptions of the type of the used class.
- isAccessible(JavaModelElement) - Method in class org.revapi.java.spi.CheckBase
-
This method checks that the provided element and all its parent elements are accessible (public or protected).
- isBothAccessible(JavaModelElement, JavaModelElement) - Method in class org.revapi.java.spi.CheckBase
-
Checks whether both provided elements are public or protected.
- isBothPrivate(JavaModelElement, JavaModelElement) - Method in class org.revapi.java.spi.CheckBase
-
Checks whether both provided elements are (package) private.
- isDescendingOnNonExisting() - Method in interface org.revapi.java.spi.Check
-
When the analyzer encounters an element that doesn't have a matching counterpart in the other version of the API, by default, the analysis doesn't descend into the children of the existing element.
- isDescendingOnNonExisting() - Method in class org.revapi.java.spi.CheckBase
-
The default implementation returns false, because that is the right decision most of the time.
- isEqual(AnnotationValue, AnnotationValue) - Static method in class org.revapi.java.spi.Util
- isInAPI() - Method in interface org.revapi.java.spi.JavaTypeElement
- isInApiThroughUse() - Method in interface org.revapi.java.spi.JavaTypeElement
- isInherited() - Method in interface org.revapi.java.spi.JavaModelElement
-
Each
JavaTypeElement
contains as its children not only the elements that are declared on the type but also elements that it inherits from its super types (with type parameters "instantiated" according to the actual type). - isMissing(Element) - Method in class org.revapi.java.spi.CheckBase
-
The element is deemed missing if its type kind (
TypeMirror.getKind()
) isTypeKind.ERROR
. - isMovingToApi() - Method in class org.revapi.java.spi.UseSite
-
This checks if the
type
of the use causes the use site to be part of the API but it also checks that the site actually can cause the used type to be in the API. - isMovingToApi() - Method in enum org.revapi.java.spi.UseSite.Type
-
Consider using
UseSite.isMovingToApi()
, if possible. - isSameType(TypeMirror, TypeMirror) - Static method in class org.revapi.java.spi.Util
-
To be used to compare types from different compilations (which are not comparable by standard means in Types).
- isSubtype(TypeMirror, List<? extends TypeMirror>, Types) - Static method in class org.revapi.java.spi.Util
-
Checks whether given type is a sub type or is equal to one of the provided types.
J
- JarExtractor - Interface in org.revapi.java.spi
-
The role of the jar extractor is to find class files in an archive that should be considered for API analysis.
- JavaAnnotationElement - Interface in org.revapi.java.spi
-
Elements in the element forest that correspond to a Java annotation will implement this interface.
- JavaElement - Interface in org.revapi.java.spi
-
Base interface that all Revapi elements modelling the Java AST satisfy.
- JavaFieldElement - Interface in org.revapi.java.spi
-
Elements in the element forest that represent Java fields, will implement this interface.
- JavaMethodElement - Interface in org.revapi.java.spi
-
Elements in the element forest that represent Java methods, will implement this interface.
- JavaMethodParameterElement - Interface in org.revapi.java.spi
-
Elements in the element forest that represent Java method parameters, will implement this interface.
- JavaModelElement - Interface in org.revapi.java.spi
-
All elements corresponding to various Java language model (apart from annotations (see
JavaAnnotationElement
)), i.e. - JavaTypeElement - Interface in org.revapi.java.spi
-
Elements in the element forest that represent Java types, will implement this interface.
K
- keyAnnotationAttributesByName(Map<? extends ExecutableElement, ? extends AnnotationValue>) - Static method in class org.revapi.java.spi.Util
-
Extracts the names of the attributes from the executable elements that represents them in the given map and returns a map keyed by those names.
M
- METHOD - org.revapi.java.spi.Check.Type
- METHOD_ABSTRACT_METHOD_ADDED - org.revapi.java.spi.Code
- METHOD_ADDED - org.revapi.java.spi.Code
- METHOD_ADDED_TO_INTERFACE - org.revapi.java.spi.Code
- METHOD_ATTRIBUTE_REMOVED_FROM_ANNOTATION_TYPE - org.revapi.java.spi.Code
- METHOD_ATTRIBUTE_WITH_DEFAULT_ADDED_TO_ANNOTATION_TYPE - org.revapi.java.spi.Code
- METHOD_ATTRIBUTE_WITH_NO_DEFAULT_ADDED_TO_ANNOTATION_TYPE - org.revapi.java.spi.Code
- METHOD_CHECKED_EXCEPTION_ADDED - org.revapi.java.spi.Code
- METHOD_CHECKED_EXCEPTION_REMOVED - org.revapi.java.spi.Code
- METHOD_DEFAULT_METHOD_ADDED_TO_INTERFACE - org.revapi.java.spi.Code
- METHOD_DEFAULT_VALUE_ADDED - org.revapi.java.spi.Code
- METHOD_DEFAULT_VALUE_CHANGED - org.revapi.java.spi.Code
- METHOD_DEFAULT_VALUE_REMOVED - org.revapi.java.spi.Code
- METHOD_FINAL_METHOD_ADDED_TO_NON_FINAL_CLASS - org.revapi.java.spi.Code
- METHOD_INHERITED_METHOD_MOVED_TO_CLASS - org.revapi.java.spi.Code
- METHOD_MOVED_TO_SUPERCLASS - org.revapi.java.spi.Code
- METHOD_NO_LONGER_ABSTRACT - org.revapi.java.spi.Code
- METHOD_NO_LONGER_DEFAULT - org.revapi.java.spi.Code
- METHOD_NO_LONGER_FINAL - org.revapi.java.spi.Code
- METHOD_NO_LONGER_STATIC - org.revapi.java.spi.Code
- METHOD_NOW_ABSTRACT - org.revapi.java.spi.Code
- METHOD_NOW_DEFAULT - org.revapi.java.spi.Code
- METHOD_NOW_FINAL - org.revapi.java.spi.Code
- METHOD_NOW_FINAL_IN_FINAL_CLASS - org.revapi.java.spi.Code
- METHOD_NOW_STATIC - org.revapi.java.spi.Code
- METHOD_NUMBER_OF_PARAMETERS_CHANGED - org.revapi.java.spi.Code
- METHOD_PARAMETER - org.revapi.java.spi.Check.Type
- METHOD_PARAMETER_TYPE_CHANGED - org.revapi.java.spi.Code
- METHOD_PARAMETER_TYPE_ERASURE_CHANGED - org.revapi.java.spi.Code
- METHOD_PARAMETER_TYPE_PARAMETER_CHANGED - org.revapi.java.spi.Code
- METHOD_REMOVED - org.revapi.java.spi.Code
- METHOD_RETURN_TYPE_CHANGED - org.revapi.java.spi.Code
- METHOD_RETURN_TYPE_CHANGED_COVARIANTLY - org.revapi.java.spi.Code
- METHOD_RETURN_TYPE_ERASURE_CHANGED - org.revapi.java.spi.Code
- METHOD_RETURN_TYPE_TYPE_PARAMETERS_CHANGED - org.revapi.java.spi.Code
- METHOD_RUNTIME_EXCEPTION_ADDED - org.revapi.java.spi.Code
- METHOD_RUNTIME_EXCEPTION_REMOVED - org.revapi.java.spi.Code
- METHOD_STATIC_METHOD_ADDED_TO_INTERFACE - org.revapi.java.spi.Code
- METHOD_VISIBILITY_INCREASED - org.revapi.java.spi.Code
- METHOD_VISIBILITY_REDUCED - org.revapi.java.spi.Code
- MISSING_IN_NEW_API - org.revapi.java.spi.Code
- MISSING_IN_OLD_API - org.revapi.java.spi.Code
- MISSING_NEW_SUPERTYPE - org.revapi.java.spi.Code
- MISSING_OLD_SUPERTYPE - org.revapi.java.spi.Code
N
- newElement - Variable in class org.revapi.java.spi.CheckBase.ActiveElements
O
- oldElement - Variable in class org.revapi.java.spi.CheckBase.ActiveElements
- org.revapi.java.spi - package org.revapi.java.spi
P
- PARAMETER_TYPE - org.revapi.java.spi.UseSite.Type
-
One of the parameters of the use site (method) has the type of the used class.
- peekLastActive() - Method in class org.revapi.java.spi.CheckBase
- popIfActive() - Method in class org.revapi.java.spi.CheckBase
-
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.
- previous - Variable in class org.revapi.java.spi.CheckBase.ActiveElements
- pushActive(T, T, Object...) - Method in class org.revapi.java.spi.CheckBase
-
If called in one of the
doVisit*()
methods, this method will push the elements along with some contextual data onto an internal stack.
R
- RETURN_TYPE - org.revapi.java.spi.UseSite.Type
-
The use site (method) returns instances of the used class.
S
- setNewTypeEnvironment(TypeEnvironment) - Method in interface org.revapi.java.spi.Check
-
The environment containing the new version of the classes.
- setNewTypeEnvironment(TypeEnvironment) - Method in class org.revapi.java.spi.CheckBase
- setOldTypeEnvironment(TypeEnvironment) - Method in interface org.revapi.java.spi.Check
-
The environment containing the old version of the classes.
- setOldTypeEnvironment(TypeEnvironment) - Method in class org.revapi.java.spi.CheckBase
T
- toHumanReadableString(AnnotatedConstruct) - Static method in class org.revapi.java.spi.Util
-
Constructs a human readable representation of the supplied element or type mirror.
- toHumanReadableString(AnnotationMirror) - Static method in class org.revapi.java.spi.Util
- toHumanReadableString(AnnotationValue) - Static method in class org.revapi.java.spi.Util
- toString() - Method in class org.revapi.java.spi.UseSite
- toUniqueString(AnnotationValue) - Static method in class org.revapi.java.spi.Util
- toUniqueString(TypeMirror) - Static method in class org.revapi.java.spi.Util
-
Represents the type mirror as a string in such a way that it can be used for equality comparisons.
- TYPE_PARAMETER_OR_BOUND - org.revapi.java.spi.UseSite.Type
-
The used class is used as a type parameter or a bound of a type variable or wildcard on the use site (which can be a class, field, method or a method parameter).
- TypeEnvironment - Interface in org.revapi.java.spi
-
This interface mimics (to an extent) the
ProcessingEnvironment
and serves the same purpose. - TypeMirrorPairVisitor<R> - Class in org.revapi.java.spi
-
Similar to
ElementPairVisitor
but provides a visitor to visit two type mirrors of the same type. - TypeMirrorPairVisitor() - Constructor for class org.revapi.java.spi.TypeMirrorPairVisitor
U
- unmatchedAction(Element, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- unmatchedAction(TypeMirror, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- UseSite - Class in org.revapi.java.spi
- UseSite(UseSite.Type, JavaElement) - Constructor for class org.revapi.java.spi.UseSite
- UseSite.Type - Enum in org.revapi.java.spi
-
The way the used class is used by the use site.
- Util - Class in org.revapi.java.spi
-
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.
V
- valueOf(String) - Static method in enum org.revapi.java.spi.Check.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.revapi.java.spi.Code
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.revapi.java.spi.UseSite.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.revapi.java.spi.Check.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.revapi.java.spi.Code
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.revapi.java.spi.UseSite.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visitAnnotation(JavaAnnotationElement, JavaAnnotationElement) - Method in interface org.revapi.java.spi.Check
-
Visiting annotation is slightly different, because it is not followed by the standard
Check.visitEnd()
call. - visitAnnotation(JavaAnnotationElement, JavaAnnotationElement) - Method in class org.revapi.java.spi.CheckBase
-
Please override the
CheckBase.doVisitAnnotation(JavaAnnotationElement, JavaAnnotationElement)
instead. - visitArray(ArrayType, ArrayType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitArray(ArrayType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitClass(JavaTypeElement, JavaTypeElement) - Method in interface org.revapi.java.spi.Check
- visitClass(JavaTypeElement, JavaTypeElement) - Method in class org.revapi.java.spi.CheckBase
-
Please override the
CheckBase.doVisitClass(JavaTypeElement, JavaTypeElement)
- visitDeclared(DeclaredType, DeclaredType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitDeclared(DeclaredType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitEnd() - Method in interface org.revapi.java.spi.Check
-
Each of the other visit* calls is followed by a corresponding call to this method in a stack-like manner.
- visitEnd() - Method in class org.revapi.java.spi.CheckBase
-
Please override the
CheckBase.doEnd()
method instead. - visitError(ErrorType, ErrorType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitError(ErrorType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitExecutable(ExecutableElement, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitExecutable(ExecutableElement, ExecutableElement) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitExecutable(ExecutableType, ExecutableType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitExecutable(ExecutableType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitField(JavaFieldElement, JavaFieldElement) - Method in interface org.revapi.java.spi.Check
- visitField(JavaFieldElement, JavaFieldElement) - Method in class org.revapi.java.spi.CheckBase
-
Please override the
CheckBase.doVisitField(JavaFieldElement, JavaFieldElement)
instead. - visitIntersection(IntersectionType, IntersectionType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitIntersection(IntersectionType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitMethod(JavaMethodElement, JavaMethodElement) - Method in interface org.revapi.java.spi.Check
- visitMethod(JavaMethodElement, JavaMethodElement) - Method in class org.revapi.java.spi.CheckBase
-
Please override the
CheckBase.doVisitMethod(JavaMethodElement, JavaMethodElement)
instead. - visitMethodParameter(JavaMethodParameterElement, JavaMethodParameterElement) - Method in interface org.revapi.java.spi.Check
- visitMethodParameter(JavaMethodParameterElement, JavaMethodParameterElement) - Method in class org.revapi.java.spi.CheckBase
- visitNoType(NoType, NoType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitNoType(NoType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitNull(NullType, NullType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitNull(NullType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitPackage(PackageElement, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitPackage(PackageElement, PackageElement) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitPrimitive(PrimitiveType, PrimitiveType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitPrimitive(PrimitiveType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitType(TypeElement, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitType(TypeElement, TypeElement) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitTypeParameter(TypeParameterElement, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitTypeParameter(TypeParameterElement, TypeParameterElement) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitTypeVariable(TypeVariable, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitTypeVariable(TypeVariable, TypeVariable) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitUnion(UnionType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitUnion(UnionType, UnionType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitUnknown(Element, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitUnknown(TypeMirror, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitVariable(VariableElement, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitVariable(VariableElement, VariableElement) - Method in class org.revapi.java.spi.ElementPairVisitor
- visitWildcard(WildcardType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
- visitWildcard(WildcardType, WildcardType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
All Classes All Packages