checkers.types
Class AnnotatedTypeFactory.InheritedFromClassAnnotator

java.lang.Object
  extended by checkers.types.visitors.AnnotatedTypeScanner<Void,AnnotatedTypeFactory>
      extended by checkers.types.AnnotatedTypeFactory.InheritedFromClassAnnotator
All Implemented Interfaces:
AnnotatedTypeVisitor<Void,AnnotatedTypeFactory>
Enclosing class:
AnnotatedTypeFactory

protected static class AnnotatedTypeFactory.InheritedFromClassAnnotator
extends AnnotatedTypeScanner<Void,AnnotatedTypeFactory>

A singleton utility class for pulling annotations down from a class type.

See Also:
AnnotatedTypeFactory.annotateInheritedFromClass(checkers.types.AnnotatedTypeMirror)

Field Summary
Modifier and Type Field and Description
static AnnotatedTypeFactory.InheritedFromClassAnnotator INSTANCE
          The singleton instance.
 
Fields inherited from class checkers.types.visitors.AnnotatedTypeScanner
visitedNodes
 
Method Summary
Modifier and Type Method and Description
 Void visitDeclared(AnnotatedTypeMirror.AnnotatedDeclaredType type, AnnotatedTypeFactory p)
          Visits a declared type.
 Void visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType type, AnnotatedTypeFactory p)
          Visits an executable type.
 
Methods inherited from class checkers.types.visitors.AnnotatedTypeScanner
reduce, scan, scan, scanAndReduce, scanAndReduce, visit, visit, visitArray, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitWildcard
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final AnnotatedTypeFactory.InheritedFromClassAnnotator INSTANCE
The singleton instance.

Method Detail

visitExecutable

public Void visitExecutable(AnnotatedTypeMirror.AnnotatedExecutableType type,
                            AnnotatedTypeFactory p)
Description copied from interface: AnnotatedTypeVisitor
Visits an executable type.

Specified by:
visitExecutable in interface AnnotatedTypeVisitor<Void,AnnotatedTypeFactory>
Overrides:
visitExecutable in class AnnotatedTypeScanner<Void,AnnotatedTypeFactory>
Parameters:
type - the type to visit
p - a visitor-specified parameter
Returns:
a visitor-specified result

visitDeclared

public Void visitDeclared(AnnotatedTypeMirror.AnnotatedDeclaredType type,
                          AnnotatedTypeFactory p)
Description copied from interface: AnnotatedTypeVisitor
Visits a declared type.

Specified by:
visitDeclared in interface AnnotatedTypeVisitor<Void,AnnotatedTypeFactory>
Overrides:
visitDeclared in class AnnotatedTypeScanner<Void,AnnotatedTypeFactory>
Parameters:
type - the type to visit
p - a visitor-specified parameter
Returns:
a visitor-specified result