R
- P
- public abstract class SuperclassAwareTypeVisitor<R,P> extends AbstractTypeVisitor8<R,P>
Modifier | Constructor and Description |
---|---|
protected |
SuperclassAwareTypeVisitor(JavaVisitorContext visitorContext)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
accept(DeclaredType type,
Element element,
P p) |
protected abstract boolean |
isAcceptable(Element element) |
R |
visitArray(ArrayType t,
P p) |
R |
visitDeclared(DeclaredType type,
P p) |
R |
visitError(ErrorType t,
P p) |
R |
visitExecutable(ExecutableType t,
P p) |
R |
visitIntersection(IntersectionType t,
P p) |
R |
visitNoType(NoType t,
P p) |
R |
visitNull(NullType t,
P p) |
R |
visitPrimitive(PrimitiveType t,
P p) |
R |
visitTypeVariable(TypeVariable t,
P p) |
R |
visitUnion(UnionType t,
P p) |
R |
visitWildcard(WildcardType t,
P p) |
visit, visit, visitUnknown
protected SuperclassAwareTypeVisitor(JavaVisitorContext visitorContext)
visitorContext
- The visitor contextpublic R visitDeclared(DeclaredType type, P p)
protected abstract boolean isAcceptable(Element element)
element
- The Element
protected abstract void accept(DeclaredType type, Element element, P p)
type
- The DeclaredType
element
- The Element
p
- The additional typepublic R visitIntersection(IntersectionType t, P p)
visitIntersection
in interface TypeVisitor<R,P>
visitIntersection
in class AbstractTypeVisitor8<R,P>
public R visitPrimitive(PrimitiveType t, P p)
public R visitTypeVariable(TypeVariable t, P p)
public R visitWildcard(WildcardType t, P p)
public R visitExecutable(ExecutableType t, P p)
public R visitUnion(UnionType t, P p)
visitUnion
in interface TypeVisitor<R,P>
visitUnion
in class AbstractTypeVisitor7<R,P>