net.sourceforge.pmd.lang.ast.Node, AccessNode, CanSuppressWarnings, Dimensionable, JavaNode, net.sourceforge.pmd.lang.symboltable.ScopedNodeASTResourcepublic class ASTFormalParameter extends AbstractJavaAccessNode implements Dimensionable, CanSuppressWarnings
parserbeginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent| Constructor | Description |
|---|---|
ASTFormalParameter(int id) |
|
ASTFormalParameter(JavaParser p,
int id) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getArrayDepth() |
|
protected ASTVariableDeclaratorId |
getDecl() |
|
ASTType |
getTypeNode() |
|
boolean |
hasSuppressWarningsAnnotationFor(Rule rule) |
|
boolean |
isArray() |
|
boolean |
isExplicitReceiverParameter() |
|
boolean |
isVarargs() |
|
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
setVarargs() |
getModifiers, isAbstract, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatilechildrenAccept, comment, comment, getScope, getXPathNodeName, jjtClose, jjtOpen, setScopeappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toStringfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDatapublic ASTFormalParameter(int id)
public ASTFormalParameter(JavaParser p, int id)
public void setVarargs()
public boolean isVarargs()
public boolean isExplicitReceiverParameter()
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
AbstractJavaNodejjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic boolean hasSuppressWarningsAnnotationFor(Rule rule)
hasSuppressWarningsAnnotationFor in interface CanSuppressWarningspublic boolean isArray()
isArray in interface Dimensionablepublic int getArrayDepth()
getArrayDepth in interface Dimensionablepublic ASTType getTypeNode()
protected ASTVariableDeclaratorId getDecl()
Copyright © 2002–2018 PMD. All rights reserved.