public final class ExplicitConstructorInvocationStmt extends Statement implements NodeWithTypeArguments<ExplicitConstructorInvocationStmt>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION
Constructor and Description |
---|
ExplicitConstructorInvocationStmt() |
ExplicitConstructorInvocationStmt(boolean isThis,
Expression expr,
List<Expression> args) |
ExplicitConstructorInvocationStmt(Range range,
List<Type<?>> typeArguments,
boolean isThis,
Expression expr,
List<Expression> args) |
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<Expression> |
getArgs() |
Expression |
getExpr() |
List<Type<?>> |
getTypeArguments() |
boolean |
isThis() |
ExplicitConstructorInvocationStmt |
setArgs(List<Expression> args) |
ExplicitConstructorInvocationStmt |
setExpr(Expression expr) |
ExplicitConstructorInvocationStmt |
setThis(boolean isThis) |
ExplicitConstructorInvocationStmt |
setTypeArguments(List<Type<?>> types)
Allows you to set the generic arguments
|
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
finalize, getClass, notify, notifyAll, wait, wait, wait
isUsingDiamondOperator, removeTypeArguments, setDiamondOperator, setTypeArguments
public ExplicitConstructorInvocationStmt()
public ExplicitConstructorInvocationStmt(boolean isThis, Expression expr, List<Expression> args)
public ExplicitConstructorInvocationStmt(Range range, List<Type<?>> typeArguments, boolean isThis, Expression expr, List<Expression> args)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public List<Expression> getArgs()
public Expression getExpr()
public boolean isThis()
public ExplicitConstructorInvocationStmt setArgs(List<Expression> args)
public ExplicitConstructorInvocationStmt setExpr(Expression expr)
public ExplicitConstructorInvocationStmt setThis(boolean isThis)
public List<Type<?>> getTypeArguments()
getTypeArguments
in interface NodeWithTypeArguments<ExplicitConstructorInvocationStmt>
public ExplicitConstructorInvocationStmt setTypeArguments(List<Type<?>> types)
NodeWithTypeArguments
setTypeArguments
in interface NodeWithTypeArguments<ExplicitConstructorInvocationStmt>
types
- The list of types of the genericsCopyright © 2007–2016. All rights reserved.