public class ConstructorDeclaration extends EntityDeclaration
| Modifier and Type | Field and Description |
|---|---|
static TokenRole |
THROWS_KEYWORD |
ANNOTATION_ROLE, MODIFIER_ROLE, PRIVATE_IMPLEMENTATION_TYPE_ROLE, UNATTACHED_ANNOTATION_ROLEAST_NODE_USED_FLAGS, flags, NULLCHILD_ITERATOR| Constructor and Description |
|---|
ConstructorDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
BlockStatement |
getBody() |
EntityType |
getEntityType() |
JavaTokenNode |
getLeftParenthesisToken() |
AstNodeCollection<ParameterDeclaration> |
getParameters() |
JavaTokenNode |
getRightParenthesisToken() |
AstNodeCollection<AstType> |
getThrownTypes() |
boolean |
matches(INode other,
Match match) |
void |
setBody(BlockStatement value) |
clone, getAnnotations, getModifiers, getName, getNameToken, getNodeType, getReturnType, hasModifier, isAnyModifiers, matchAnnotationsAndModifiers, setAnyModifiers, setName, setNameToken, setReturnTypeaddChild, contains, contains, copyUserDataFrom, forPattern, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic static final TokenRole THROWS_KEYWORD
public final AstNodeCollection<ParameterDeclaration> getParameters()
public final AstNodeCollection<AstType> getThrownTypes()
public final BlockStatement getBody()
public final void setBody(BlockStatement value)
public final JavaTokenNode getLeftParenthesisToken()
public final JavaTokenNode getRightParenthesisToken()
public EntityType getEntityType()
getEntityType in class EntityDeclarationpublic <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNode