| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcheckers.types.visitors.AnnotatedTypeScanner<R,AnnotatedTypeMirror>
checkers.types.visitors.AnnotatedTypeComparer<R>
public class AnnotatedTypeComparer<R>
A TypeVisitor that takes an AnnotatedTypeMirror as a parameter, and visits it simultaneously. Note that the parameter type must be assignable to the visited type, or an assertion fails when visiting an incompatible subtype.
AnnotatedTypeScanner| Field Summary | 
|---|
| Fields inherited from class checkers.types.visitors.AnnotatedTypeScanner | 
|---|
| visitedNodes | 
| Constructor Summary | |
|---|---|
| AnnotatedTypeComparer() | |
| Method Summary | |
|---|---|
| protected  R | scan(Iterable<? extends AnnotatedTypeMirror> types,
     Iterable<? extends AnnotatedTypeMirror> p) | 
|  R | scanAndReduce(AnnotatedTypeMirror type,
              AnnotatedTypeMirror p,
              R r) | 
| protected  R | scanAndReduce(Iterable<? extends AnnotatedTypeMirror> types,
              AnnotatedTypeMirror p,
              R r) | 
| protected  R | scanAndReduce(Iterable<? extends AnnotatedTypeMirror> types,
              Iterable<? extends AnnotatedTypeMirror> p,
              R r) | 
|  R | visitArray(AnnotatedTypeMirror.AnnotatedArrayType type,
           AnnotatedTypeMirror p)Visits an array type. | 
|  R | visitDeclared(AnnotatedTypeMirror.AnnotatedDeclaredType type,
              AnnotatedTypeMirror p)Visits a declared type. | 
|  R | visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType type,
                AnnotatedTypeMirror p)Visits an executable type. | 
|  R | visitTypeVariable(AnnotatedTypeMirror.AnnotatedTypeVariable type,
                  AnnotatedTypeMirror p)Visits a type variable. | 
|  R | visitWildcard(AnnotatedTypeMirror.AnnotatedWildcardType type,
              AnnotatedTypeMirror p)Visits a wildcard type. | 
| Methods inherited from class checkers.types.visitors.AnnotatedTypeScanner | 
|---|
| reduce, scan, scan, visit, visit, visitNoType, visitNull, visitPrimitive | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AnnotatedTypeComparer()
| Method Detail | 
|---|
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 parameter
public 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 parameter
public 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 parameter
public 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 parameter
public 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
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||