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