Class PublicMethodVisitor<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:
PublicAbstractMethodVisitor

@Deprecated(forRemoval=true) public abstract class PublicMethodVisitor<R,P> extends SuperclassAwareTypeVisitor<R,P>
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used
An adapter that implements all methods of the TypeVisitor interface subclasses can selectively override.
Since:
1.0
Author:
graemerocher
See Also:
  • Constructor Details

    • PublicMethodVisitor

      protected PublicMethodVisitor(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

    • isAcceptable

      protected boolean isAcceptable(Element element)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Only accepts public non file or static methods.
      Specified by:
      isAcceptable in class SuperclassAwareTypeVisitor<R,P>
      Parameters:
      element - The Element
      Returns:
      If the element is acceptable