Class SuperclassAwareTypeVisitor<R,P>
java.lang.Object
javax.lang.model.util.AbstractTypeVisitor6<R,P>
javax.lang.model.util.AbstractTypeVisitor7<R,P>
javax.lang.model.util.AbstractTypeVisitor8<R,P>
io.micronaut.annotation.processing.SuperclassAwareTypeVisitor<R,P>
- Type Parameters:
R
-P
-
- All Implemented Interfaces:
TypeVisitor<R,
P>
- Direct Known Subclasses:
PublicMethodVisitor
Processes the type and its super classes.
-
Constructor Summary
ModifierConstructorDescriptionprotected
SuperclassAwareTypeVisitor
(JavaVisitorContext visitorContext) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
accept
(DeclaredType type, Element element, P p) protected abstract boolean
isAcceptable
(Element element) visitArray
(ArrayType t, P p) visitDeclared
(DeclaredType type, P p) visitError
(ErrorType t, P p) visitExecutable
(ExecutableType t, P p) visitNoType
(NoType t, P p) visitPrimitive
(PrimitiveType t, P p) visitTypeVariable
(TypeVariable t, P p) visitUnion
(UnionType t, P p) visitWildcard
(WildcardType t, P p) Methods inherited from class javax.lang.model.util.AbstractTypeVisitor6
visit, visit, visitUnknown
-
Constructor Details
-
SuperclassAwareTypeVisitor
Default constructor.- Parameters:
visitorContext
- The visitor context
-
-
Method Details
-
visitDeclared
-
isAcceptable
- Parameters:
element
- TheElement
- Returns:
- Whether the element is public and final
-
accept
- Parameters:
type
- TheDeclaredType
element
- TheElement
p
- The additional type
-
visitIntersection
- Specified by:
visitIntersection
in interfaceTypeVisitor<R,
P> - Specified by:
visitIntersection
in classAbstractTypeVisitor8<R,
P>
-
visitPrimitive
-
visitNull
-
visitArray
-
visitError
-
visitTypeVariable
-
visitWildcard
-
visitExecutable
-
visitNoType
-
visitUnion
- Specified by:
visitUnion
in interfaceTypeVisitor<R,
P> - Specified by:
visitUnion
in classAbstractTypeVisitor7<R,
P>
-