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(Types types)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, visitWildcardvisit, visit, visitUnknownprotected PublicMethodVisitor(Types types)
types - The types instanceprotected boolean isAcceptable(Element element)
isAcceptable in class SuperclassAwareTypeVisitor<R,P>element - The Element