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(javax.lang.model.element.Element element)
Only accepts public non file or static methods.
|
accept, visitArray, visitDeclared, visitError, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcard
protected PublicMethodVisitor(JavaVisitorContext visitorContext)
visitorContext
- The visitor contextprotected boolean isAcceptable(javax.lang.model.element.Element element)
isAcceptable
in class SuperclassAwareTypeVisitor<R,P>
element
- The Element