Class SuperclassAwareTypeVisitor<R,P>

Type Parameters:
R - The return type of the visitor's method
P - The type of the additional parameter to the visitor's methods.
All Implemented Interfaces:
TypeVisitor<R,P>
Direct Known Subclasses:
PublicMethodVisitor

@Deprecated(forRemoval=true, since="4.3.0") public abstract class SuperclassAwareTypeVisitor<R,P> extends AbstractTypeVisitor8<R,P>
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used
Processes the type and its super classes.
  • Constructor Details

    • SuperclassAwareTypeVisitor

      protected SuperclassAwareTypeVisitor(JavaVisitorContext visitorContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Default constructor.
      Parameters:
      visitorContext - The visitor context
  • Method Details

    • visitDeclared

      public R visitDeclared(DeclaredType type, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isAcceptable

      protected abstract boolean isAcceptable(Element element)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      element - The Element
      Returns:
      Whether the element is public and final
    • accept

      protected abstract void accept(DeclaredType type, Element element, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      type - The DeclaredType
      element - The Element
      p - The additional type
    • visitIntersection

      public R visitIntersection(IntersectionType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      visitIntersection in interface TypeVisitor<R,P>
      Specified by:
      visitIntersection in class AbstractTypeVisitor8<R,P>
    • visitPrimitive

      public R visitPrimitive(PrimitiveType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitNull

      public R visitNull(NullType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitArray

      public R visitArray(ArrayType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitError

      public R visitError(ErrorType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitTypeVariable

      public R visitTypeVariable(TypeVariable t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitWildcard

      public R visitWildcard(WildcardType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitExecutable

      public R visitExecutable(ExecutableType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitNoType

      public R visitNoType(NoType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visitUnion

      public R visitUnion(UnionType t, P p)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      visitUnion in interface TypeVisitor<R,P>
      Specified by:
      visitUnion in class AbstractTypeVisitor7<R,P>