public final class Parameter extends Node
Constructor and Description |
---|
Parameter() |
Parameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
VariableDeclaratorId id) |
Parameter(int modifiers,
Type type,
VariableDeclaratorId id) |
Parameter(Type type,
VariableDeclaratorId id) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
List<AnnotationExpr> |
getAnnotations() |
VariableDeclaratorId |
getId() |
int |
getModifiers()
Return the modifiers of this parameter declaration.
|
Type |
getType() |
boolean |
isVarArgs() |
void |
setAnnotations(List<AnnotationExpr> annotations) |
void |
setId(VariableDeclaratorId id) |
void |
setModifiers(int modifiers) |
void |
setType(Type type) |
void |
setVarArgs(boolean isVarArgs) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public Parameter()
public Parameter(Type type, VariableDeclaratorId id)
public Parameter(int modifiers, Type type, VariableDeclaratorId id)
public Parameter(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, Type type, boolean isVarArgs, VariableDeclaratorId id)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public List<AnnotationExpr> getAnnotations()
public VariableDeclaratorId getId()
public int getModifiers()
ModifierSet
public Type getType()
public boolean isVarArgs()
public void setAnnotations(List<AnnotationExpr> annotations)
public void setId(VariableDeclaratorId id)
public void setModifiers(int modifiers)
public void setType(Type type)
public void setVarArgs(boolean isVarArgs)