Skip navigation links
A C D E F G H I J K N O P S T U V 

A

all() - Static method in enum org.revapi.java.spi.UseSite.Type
 
allBut(UseSite.Type...) - Static method in enum org.revapi.java.spi.UseSite.Type
 

C

call() - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn0
 
call(T) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn1
 
call(T1, T2) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn2
 
call(T1, T2, T3) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.Fn3
 
call() - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.VoidFn0
 
call(T) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.VoidFn1
 
call(T1, T2) - Method in interface org.revapi.java.spi.IgnoreCompletionFailures.VoidFn2
 
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.
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 Element> - Class in org.revapi.java.spi
Represents the elements that have been pushed onto the active elements stack.
Code - Enum in org.revapi.java.spi
The is a list of all difference codes Revapi's Java extension can emit.
code() - Method in enum org.revapi.java.spi.Code
 
context - Variable in class org.revapi.java.spi.CheckBase.ActiveElements
 
createDifference(Code, Object...) - Method in class org.revapi.java.spi.CheckBase
 
createDifference(Code, Object[], Object...) - Method in class org.revapi.java.spi.CheckBase
 
createDifference(Locale) - Method in enum org.revapi.java.spi.Code
 
createDifference(Locale, Object[], Object...) - Method in enum org.revapi.java.spi.Code
 

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(AnnotationMirror, AnnotationMirror) - Method in class org.revapi.java.spi.CheckBase
 
doVisitClass(TypeElement, TypeElement) - Method in class org.revapi.java.spi.CheckBase
 
doVisitField(VariableElement, VariableElement) - Method in class org.revapi.java.spi.CheckBase
 
doVisitMethod(ExecutableElement, ExecutableElement) - Method in class org.revapi.java.spi.CheckBase
 
doVisitMethodParameter(VariableElement, VariableElement) - Method in class org.revapi.java.spi.CheckBase
 

E

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
 
end(TypeElement, P) - Method in interface org.revapi.java.spi.UseSite.Visitor
Called when all uses have been visited.
equals(Object) - Method in class org.revapi.java.spi.UseSite
 

F

fillAllSuperTypes(Types, TypeMirror, List<TypeMirror>) - Static method in class org.revapi.java.spi.Util
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

getAllSuperClasses(Types, TypeMirror) - Static method in class org.revapi.java.spi.Util
Returns all the super classes of given type.
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
 
getConfigurationRootPaths() - Method in class org.revapi.java.spi.CheckBase
 
getElementUtils() - Method in interface org.revapi.java.spi.TypeEnvironment
 
getJSONSchema(String) - Method in class org.revapi.java.spi.CheckBase
 
getModelElement() - Method in interface org.revapi.java.spi.JavaFieldElement
 
getModelElement() - Method in interface org.revapi.java.spi.JavaMethodElement
 
getModelElement() - Method in interface org.revapi.java.spi.JavaMethodParameterElement
 
getModelElement() - Method in interface org.revapi.java.spi.JavaModelElement
 
getModelElement() - Method in interface org.revapi.java.spi.JavaTypeElement
 
getNewTypeEnvironment() - Method in class org.revapi.java.spi.CheckBase
 
getOldTypeEnvironment() - Method in class org.revapi.java.spi.CheckBase
 
getSite() - 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
 
getUseType() - Method in class org.revapi.java.spi.UseSite
 

H

hashCode() - Method in class org.revapi.java.spi.UseSite
 

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
 
isAccessible(Element) - Static method in class org.revapi.java.spi.CheckBase
 
isAccessibleOrInAPI(Element, TypeEnvironment) - Static method in class org.revapi.java.spi.CheckBase
Certain elements might be forced into the API even if they are not accessible (this is most usually a programming error).
isBothAccessible(Element, Element) - Static method in class org.revapi.java.spi.CheckBase
Checks whether both provided elements are public or protected.
isBothAccessibleOrInApi(Element, TypeEnvironment, Element, TypeEnvironment) - Static method in class org.revapi.java.spi.CheckBase
isBothPrivate(Element, Element) - Static method in class org.revapi.java.spi.CheckBase
Checks whether both provided elements are (package) private.
isEffectivelyAccessible(Element) - Static method in class org.revapi.java.spi.CheckBase
Similar to CheckBase.isAccessible(javax.lang.model.element.Element) but also checks that all enclosing elements of the provided element are accessible, too.
isEqual(AnnotationValue, AnnotationValue) - Static method in class org.revapi.java.spi.Util
 
isMissing(Element) - Static method in class org.revapi.java.spi.CheckBase
The element is deemed missing if its type kind (TypeMirror.getKind()) is TypeKind.ERROR.
isPubliclyUsedAs(TypeElement, TypeEnvironment, Collection<UseSite.Type>) - Static method in class org.revapi.java.spi.CheckBase
Checks if the type is publicly used as any of the provided use types.
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

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
Basic 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.

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

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.
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.

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(Element) - Static method in class org.revapi.java.spi.Util
 
toHumanReadableString(TypeMirror) - 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(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.
toUniqueString(AnnotationValue) - Static method in class org.revapi.java.spi.Util
 
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.
UseSite.Visitor<R,P> - Interface in org.revapi.java.spi
A visitor of 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.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.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.
visit(TypeElement, UseSite, P) - Method in interface org.revapi.java.spi.UseSite.Visitor
Visits the use site.
visitAnnotation(AnnotationMirror, AnnotationMirror) - 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(AnnotationMirror, AnnotationMirror) - Method in class org.revapi.java.spi.CheckBase
visitArray(ArrayType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitArray(ArrayType, ArrayType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitClass(TypeElement, TypeElement) - Method in interface org.revapi.java.spi.Check
 
visitClass(TypeElement, TypeElement) - Method in class org.revapi.java.spi.CheckBase
visitDeclared(DeclaredType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitDeclared(DeclaredType, DeclaredType) - 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, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitError(ErrorType, ErrorType) - 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, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitExecutable(ExecutableType, ExecutableType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitField(VariableElement, VariableElement) - Method in interface org.revapi.java.spi.Check
 
visitField(VariableElement, VariableElement) - Method in class org.revapi.java.spi.CheckBase
visitMethod(ExecutableElement, ExecutableElement) - Method in interface org.revapi.java.spi.Check
 
visitMethod(ExecutableElement, ExecutableElement) - Method in class org.revapi.java.spi.CheckBase
visitMethodParameter(VariableElement, VariableElement) - Method in interface org.revapi.java.spi.Check
 
visitMethodParameter(VariableElement, VariableElement) - Method in class org.revapi.java.spi.CheckBase
 
visitNoType(NoType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitNoType(NoType, NoType) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitNull(NullType, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitNull(NullType, NullType) - 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, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitPrimitive(PrimitiveType, PrimitiveType) - 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
 
visitUnknown(Element, Element) - Method in class org.revapi.java.spi.ElementPairVisitor
 
visitUnknown(TypeMirror, TypeMirror) - Method in class org.revapi.java.spi.TypeMirrorPairVisitor
 
visitUseSites(TypeElement, UseSite.Visitor<R, P>, P) - Method in interface org.revapi.java.spi.TypeEnvironment
Visits the uses of the provided type.
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
 
A C D E F G H I J K N O P S T U V 
Skip navigation links

Copyright © 2015. All Rights Reserved.