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.ScopedNode
public class ASTConstructorDeclaration extends AbstractJavaAccessNode implements ASTMethodOrConstructorDeclaration
parser
beginColumn, 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, setVolatile
childrenAccept, comment, comment, getScope, getXPathNodeName, jjtClose, jjtOpen, setScope
appendElement, 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, toString
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, setVolatile
childrenAccept, getScope, setScope
public 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 JavaNode
jjtAccept
in class AbstractJavaNode
public boolean containsComment()
public void setContainsComment()
public JavaQualifiedName getQualifiedName()
JavaQualifiableNode
getQualifiedName
in interface JavaQualifiableNode
getQualifiedName
in interface net.sourceforge.pmd.lang.ast.QualifiableNode
public JavaOperationSignature getSignature()
getSignature
in interface ASTMethodOrConstructorDeclaration
getSignature
in interface net.sourceforge.pmd.lang.ast.SignedNode<ASTMethodOrConstructorDeclaration>
Copyright © 2002–2018 PMD. All rights reserved.