public final class Parameter extends BaseParameter implements TypedNode
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
Parameter() |
Parameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
VariableDeclaratorId id)
Deprecated.
prefer using Range objects.
|
Parameter(int modifiers,
Type type,
VariableDeclaratorId id) |
Parameter(Range range,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
boolean isVarArgs,
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.
|
Type |
getType() |
boolean |
isVarArgs() |
void |
setType(Type type) |
void |
setVarArgs(boolean isVarArgs) |
getAnnotations, getId, getModifiers, getName, setAnnotations, setId, setModifiers
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEnd, getEndColumn, getEndLine, getOrphanComments, getParentNode, getRange, hasComment, hashCode, isPositionedAfter, isPositionedAfter, isPositionedBefore, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBeginColumn, setBeginLine, setComment, setData, setEnd, setEndColumn, setEndLine, setParentNode, setRange, toString, toStringWithoutComments
public Parameter()
public Parameter(Type type, VariableDeclaratorId id)
public Parameter(int modifiers, Type type, VariableDeclaratorId id)
@Deprecated public Parameter(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, Type type, boolean isVarArgs, VariableDeclaratorId id)
public Parameter(Range range, 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 boolean isVarArgs()
public void setVarArgs(boolean isVarArgs)
Copyright © 2007–2016. All rights reserved.