int abc(String x, float
y) {...}
| Modifier and Type | Field and Description |
|---|---|
| private NodeList | |
| private boolean | |
| private NodeList | |
| private SimpleName | |
| private Type | |
| private NodeList |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | Parameter(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<AnnotationExpr> varArgsAnnotations, SimpleName name)
|
| public | Parameter(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<AnnotationExpr> varArgsAnnotations, SimpleName name)
This constructor is used by the parser and is considered private. |
| Modifier and Type | Method and Description |
|---|---|
| public <R, A> R | accept(final GenericVisitor<R, A>
the visitor implementation v, final A the argument passed to the visitor (of type A) arg)Implements com. |
| public <A> void | accept(final VoidVisitor<A>
the visitor implementation v, final A any value relevant for the visitor (of type A) arg)Implements com. |
| public Parameter | |
| public NodeList | Returns: the list returned could be immutable (in that case it will be empty)Implements com. |
| public ParameterMetaModel | |
| public NodeList | Returns: modifiersImplements com. |
| public SimpleName | |
| public Type | |
| public NodeList | |
| public boolean | |
| public boolean | |
| public boolean | |
| public ResolvedParameterDeclaration | |
| public Parameter | setAnnotations(final NodeList<AnnotationExpr>
a null value is currently treated as an empty list. This behavior could change in the future,
so please avoid passing null annotations)Implements com. |
| public Parameter | setModifiers(final NodeList<Modifier> modifiers)
Implements com. |
| public Parameter | setName(final SimpleName name)
Implements com. |
| public Parameter | setType(final Type
the type type)Implements com. |
| public Parameter | |
| public Parameter |
| annotations | back to summary |
|---|---|
| private NodeList<AnnotationExpr> annotations | |
| isVarArgs | back to summary |
|---|---|
| private boolean isVarArgs | |
| modifiers | back to summary |
|---|---|
| private NodeList<Modifier> modifiers | |
| name | back to summary |
|---|---|
| private SimpleName name | |
| type | back to summary |
|---|---|
| private Type type | |
| varArgsAnnotations | back to summary |
|---|---|
| private NodeList<AnnotationExpr> varArgsAnnotations | |
| Parameter | back to summary |
|---|---|
| public Parameter() | |
| Parameter | back to summary |
|---|---|
| public Parameter(Type type, SimpleName name) | |
| Parameter | back to summary |
|---|---|
| public Parameter(Type type, String name) Creates a new | |
| Parameter | back to summary |
|---|---|
| public Parameter(NodeList<Modifier> modifiers, Type type, SimpleName name) | |
| Parameter | back to summary |
|---|---|
public Parameter(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<AnnotationExpr> varArgsAnnotations, SimpleName name)
| |
| Parameter | back to summary |
|---|---|
| public Parameter(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<AnnotationExpr> varArgsAnnotations, SimpleName name) This constructor is used by the parser and is considered private.
| |
| accept | back to summary |
|---|---|
| public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| accept | back to summary |
|---|---|
| public <A> void accept(final VoidVisitor<A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| clone | back to summary |
|---|---|
| public Parameter clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getAnnotations | back to summary |
|---|---|
| public NodeList Implements com.
| |
| getMetaModel | back to summary |
|---|---|
| public ParameterMetaModel getMetaModel() Overrides com.
| |
| getModifiers | back to summary |
|---|---|
| public NodeList Implements com. Return the modifiers of this parameter declaration.
| |
| getName | back to summary |
|---|---|
| public SimpleName getName() Implements com.
| |
| getType | back to summary |
|---|---|
| public Type getType() Implements com. Doc from com. Gets the type
| |
| getVarArgsAnnotations | back to summary |
|---|---|
public NodeList
| |
| isVarArgs | back to summary |
|---|---|
public boolean isVarArgs()
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| resolve | back to summary |
|---|---|
| public ResolvedParameterDeclaration resolve() Implements com.
| |
| setAnnotations | back to summary |
|---|---|
| public Parameter setAnnotations(final NodeList<AnnotationExpr> annotations) Implements com.
| |
| setModifiers | back to summary |
|---|---|
| public Parameter setModifiers(final NodeList<Modifier> modifiers) Implements com.
| |
| setName | back to summary |
|---|---|
| public Parameter setName(final SimpleName name) Implements com.
| |
| setType | back to summary |
|---|---|
| public Parameter setType(final Type type) Implements com. Doc from com. Sets the type
| |
| setVarArgs | back to summary |
|---|---|
public Parameter setVarArgs(final boolean isVarArgs)
| |
| setVarArgsAnnotations | back to summary |
|---|---|
public Parameter setVarArgsAnnotations(final NodeList<AnnotationExpr> varArgsAnnotations)
| |