public class ParameterDeclaration extends EntityDeclaration
| Modifier and Type | Field and Description |
|---|---|
static Role<Annotation> |
ANNOTATION_ROLE |
MODIFIER_ROLE, PRIVATE_IMPLEMENTATION_TYPE_ROLE, UNATTACHED_ANNOTATION_ROLEAST_NODE_USED_FLAGS, flags, NULLCHILD_ITERATOR| Constructor and Description |
|---|
ParameterDeclaration() |
ParameterDeclaration(java.lang.String name,
AstType type) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
static ParameterDeclaration |
forPattern(Pattern pattern) |
EntityType |
getEntityType() |
NodeType |
getNodeType() |
AstType |
getType() |
boolean |
matches(INode other,
Match match) |
void |
setType(AstType value) |
clone, getAnnotations, getModifiers, getName, getNameToken, getReturnType, hasModifier, isAnyModifiers, matchAnnotationsAndModifiers, setAnyModifiers, setName, setNameToken, setReturnTypeaddChild, contains, contains, copyUserDataFrom, 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 Role<Annotation> ANNOTATION_ROLE
public ParameterDeclaration()
public ParameterDeclaration(java.lang.String name,
AstType type)
public final AstType getType()
public final void setType(AstType value)
public NodeType getNodeType()
getNodeType in class EntityDeclarationpublic EntityType getEntityType()
getEntityType in class EntityDeclarationpublic <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNodepublic static ParameterDeclaration forPattern(Pattern pattern)