R
- The return type of the visitor's methodP
- The type of the additional parameter to the visitor's methods.public abstract class PublicMethodVisitor<R,P> extends SuperclassAwareTypeVisitor<R,P>
TypeVisitor
interface subclasses can selectively override.AbstractTypeVisitor8
Modifier | Constructor and Description |
---|---|
protected |
PublicMethodVisitor(JavaVisitorContext visitorContext)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAcceptable(Element element)
Only accepts public non file or static methods.
|
accept, visitArray, visitDeclared, visitError, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcard
visit, visit, visitUnknown
protected PublicMethodVisitor(JavaVisitorContext visitorContext)
visitorContext
- The visitor contextprotected boolean isAcceptable(Element element)
isAcceptable
in class SuperclassAwareTypeVisitor<R,P>
element
- The Element