Class SimpleAnnotatedTypeScanner<R,P>

java.lang.Object
org.checkerframework.framework.type.visitor.AnnotatedTypeScanner<R,P>
org.checkerframework.framework.type.visitor.SimpleAnnotatedTypeScanner<R,P>
Type Parameters:
R - the return type of this visitor's methods. Use Void for visitors that do not need to return results.
P - the type of the additional parameter to this visitor's methods. Use Void for visitors that do not need an additional parameter.
All Implemented Interfaces:
AnnotatedTypeVisitor<R,P>
Direct Known Subclasses:
HashcodeAtmVisitor

public class SimpleAnnotatedTypeScanner<R,P> extends AnnotatedTypeScanner<R,P>
An AnnotatedTypeScanner that scans an AnnotatedTypeMirror and performs some defaultAction on each type. The defaultAction can be passed to the constructor SimpleAnnotatedTypeScanner(DefaultAction) or this class can be extended and defaultAction can be overridden.

If the default action does not return a result, then R should be Void. If the default action returns a result, then specify a AnnotatedTypeScanner.reduce(R, R) function.