checkers.types
Class AnnotatedTypeFactory.InheritedFromClassAnnotator
java.lang.Object
checkers.types.visitors.AnnotatedTypeScanner<Void,AnnotatedTypeFactory>
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)
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 |
INSTANCE
public static final AnnotatedTypeFactory.InheritedFromClassAnnotator INSTANCE
- The singleton instance.
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 visitp
- 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 visitp
- a visitor-specified parameter
- Returns:
- a visitor-specified result