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(javax.lang.model.element.Element element)
Only accepts public non file or static methods.
|
protected boolean |
isAcceptableMethod(javax.lang.model.element.ExecutableElement executableElement)
Return whether the given executable element is acceptable.
|
accept, visitArray, visitDeclared, visitError, visitExecutable, visitIntersection, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitUnion, visitWildcard
protected boolean isAcceptable(javax.lang.model.element.Element element)
PublicMethodVisitor
isAcceptable
in class PublicMethodVisitor<R,P>
element
- The Element
protected boolean isAcceptableMethod(javax.lang.model.element.ExecutableElement executableElement)
executableElement
- The method