R
- The return type of the visitor's methodP
- The type of the additional parameter to the visitor's methods.public abstract class PublicAbstractMethodVisitor<R,P> extends PublicMethodVisitor<R,P>
AbstractTypeVisitor8
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAcceptable(Element element)
Only accepts public non file or static methods.
|
protected boolean |
isAcceptableMethod(ExecutableElement executableElement)
Return whether the given executable element is acceptable.
|
accept, visitArray, visitDeclared, visitError, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcard
visit, visit, visitUnknown
protected boolean isAcceptable(Element element)
PublicMethodVisitor
isAcceptable
in class PublicMethodVisitor<R,P>
element
- The Element
protected boolean isAcceptableMethod(ExecutableElement executableElement)
executableElement
- The method