public class AnnotatedTypeComparer<R> extends AnnotatedTypeScanner<R,AnnotatedTypeMirror>
AnnotatedTypeScanner
visitedNodes
Constructor and Description |
---|
AnnotatedTypeComparer() |
reduce, scan, scan, visit, visit, visitIntersection, visitNoType, visitNull, visitPrimitive
protected R scan(Iterable<? extends AnnotatedTypeMirror> types, Iterable<? extends AnnotatedTypeMirror> p)
protected R scanAndReduce(Iterable<? extends AnnotatedTypeMirror> types, Iterable<? extends AnnotatedTypeMirror> p, R r)
public R scanAndReduce(AnnotatedTypeMirror type, AnnotatedTypeMirror p, R r)
scanAndReduce
in class AnnotatedTypeScanner<R,AnnotatedTypeMirror>
protected R scanAndReduce(Iterable<? extends AnnotatedTypeMirror> types, AnnotatedTypeMirror p, R r)
scanAndReduce
in class AnnotatedTypeScanner<R,AnnotatedTypeMirror>
public final R visitDeclared(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeMirror p)
AnnotatedTypeVisitor
visitDeclared
in interface AnnotatedTypeVisitor<R,AnnotatedTypeMirror>
visitDeclared
in class AnnotatedTypeScanner<R,AnnotatedTypeMirror>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitArray(AnnotatedTypeMirror.AnnotatedArrayType type, AnnotatedTypeMirror p)
AnnotatedTypeVisitor
visitArray
in interface AnnotatedTypeVisitor<R,AnnotatedTypeMirror>
visitArray
in class AnnotatedTypeScanner<R,AnnotatedTypeMirror>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType type, AnnotatedTypeMirror p)
AnnotatedTypeVisitor
visitExecutable
in interface AnnotatedTypeVisitor<R,AnnotatedTypeMirror>
visitExecutable
in class AnnotatedTypeScanner<R,AnnotatedTypeMirror>
type
- the type to visitp
- a visitor-specified parameterpublic R visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type, AnnotatedTypeMirror p)
AnnotatedTypeVisitor
visitTypeVariable
in interface AnnotatedTypeVisitor<R,AnnotatedTypeMirror>
visitTypeVariable
in class AnnotatedTypeScanner<R,AnnotatedTypeMirror>
type
- the type to visitp
- a visitor-specified parameterpublic final R visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type, AnnotatedTypeMirror p)
AnnotatedTypeVisitor
visitWildcard
in interface AnnotatedTypeVisitor<R,AnnotatedTypeMirror>
visitWildcard
in class AnnotatedTypeScanner<R,AnnotatedTypeMirror>
type
- the type to visitp
- a visitor-specified parameter