public final class Parameter extends BaseParameter
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
Parameter() |
Parameter(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.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.
|
Type |
getType() |
boolean |
isVarArgs() |
void |
setType(Type type) |
void |
setVarArgs(boolean isVarArgs) |
getAnnotations, getId, getModifiers, setAnnotations, setId, setModifiers
addOrphanComment, clone, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
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, java.util.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 Type getType()
public boolean isVarArgs()
public void setType(Type type)
public void setVarArgs(boolean isVarArgs)
Copyright © 2007-2015. All Rights Reserved.