net.sourceforge.pmd.lang.ast.Node, net.sourceforge.pmd.lang.ast.QualifiableNode, net.sourceforge.pmd.lang.ast.SignedNode<ASTMethodOrConstructorDeclaration>, AccessNode, ASTMethodOrConstructorDeclaration, JavaNode, JavaQualifiableNode, net.sourceforge.pmd.lang.symboltable.ScopedNodepublic class ASTConstructorDeclaration extends AbstractJavaAccessNode implements ASTMethodOrConstructorDeclaration
parserbeginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent| Constructor | Description |
|---|---|
ASTConstructorDeclaration(int id) |
|
ASTConstructorDeclaration(JavaParser p,
int id) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsComment() |
|
int |
getParameterCount() |
|
ASTFormalParameters |
getParameters() |
|
JavaQualifiedName |
getQualifiedName() |
Returns a qualified name for this node.
|
JavaOperationSignature |
getSignature() |
|
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
setContainsComment() |
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, toStringgetModifiers, 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, getScope, setScopepublic ASTConstructorDeclaration(int id)
public ASTConstructorDeclaration(JavaParser p, int id)
public ASTFormalParameters getParameters()
public int getParameterCount()
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic boolean containsComment()
public void setContainsComment()
public JavaQualifiedName getQualifiedName()
JavaQualifiableNodegetQualifiedName in interface JavaQualifiableNodegetQualifiedName in interface net.sourceforge.pmd.lang.ast.QualifiableNodepublic JavaOperationSignature getSignature()
getSignature in interface ASTMethodOrConstructorDeclarationgetSignature in interface net.sourceforge.pmd.lang.ast.SignedNode<ASTMethodOrConstructorDeclaration>Copyright © 2002–2018 PMD. All rights reserved.