Method Summary
All Methods Instance Methods Abstract Methods Default Methods
Returns the explicit modifier keywords of this declaration node as a
space-separated string (e.g.
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors , ancestorsOrSelf , asStream , children , descendants , descendantsOrSelf , getChild , getFirstChild , getLastChild , getNextSibling , getParent , getPreviousSibling
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor , ancestors , children , compareLocation , descendants , firstChild , getAstInfo , getBeginColumn , getBeginLine , getEndColumn , getEndLine , getImage , getIndexInParent , getLanguageVersion , getNumChildren , getReportLocation , getRoot , getTextDocument , getTextRegion , getUserMap , getXPathAttributesIterator , getXPathNodeName , hasImageEqualTo , isFindBoundary
Method Details
getModifiers
Returns the explicit modifier keywords of this declaration node as a
space-separated string (e.g. "override suspend"), or null
if this node has no modifier keywords. Annotations inside the modifier list
are excluded. Exposed as XPath attribute @Modifiers.