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,
Optional<Expression> expr,
NodeList<Expression> args) |
ExplicitConstructorInvocationStmt(Range range,
Optional<NodeList<Type<?>>> typeArguments,
boolean isThis,
Optional<Expression> expr,
NodeList<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.
|
NodeList<Expression> |
getArgs() |
Optional<Expression> |
getExpr() |
Optional<NodeList<Type<?>>> |
getTypeArguments() |
boolean |
isThis() |
ExplicitConstructorInvocationStmt |
setArgs(NodeList<Expression> args) |
ExplicitConstructorInvocationStmt |
setExpr(Optional<Expression> expr) |
ExplicitConstructorInvocationStmt |
setThis(boolean isThis) |
ExplicitConstructorInvocationStmt |
setTypeArguments(Optional<NodeList<Type<?>>> types)
Allows you to set the generic arguments
|
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBackwardsCompatibleChildrenNodes, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, 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, Optional<Expression> expr, NodeList<Expression> args)
public ExplicitConstructorInvocationStmt(Range range, Optional<NodeList<Type<?>>> typeArguments, boolean isThis, Optional<Expression> expr, NodeList<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 NodeList<Expression> getArgs()
public Optional<Expression> getExpr()
public boolean isThis()
public ExplicitConstructorInvocationStmt setArgs(NodeList<Expression> args)
public ExplicitConstructorInvocationStmt setExpr(Optional<Expression> expr)
public ExplicitConstructorInvocationStmt setThis(boolean isThis)
public Optional<NodeList<Type<?>>> getTypeArguments()
getTypeArguments
in interface NodeWithTypeArguments<ExplicitConstructorInvocationStmt>
public ExplicitConstructorInvocationStmt setTypeArguments(Optional<NodeList<Type<?>>> types)
NodeWithTypeArguments
setTypeArguments
in interface NodeWithTypeArguments<ExplicitConstructorInvocationStmt>
types
- The list of types of the genericsCopyright © 2007–2016. All rights reserved.