public final class ClassExpr extends Expression implements NodeWithType<ClassExpr>
Object.class
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ClassExpr() |
ClassExpr(Range range,
Type type) |
ClassExpr(Type type) |
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()
Gets the type
|
ClassExpr |
setType(Type type)
Sets the type
|
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getData, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setData, setEnd, setLineComment, setParentNode, setRange, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
finalize, getClass, notify, notifyAll, wait, wait, wait
setType
public ClassExpr()
public ClassExpr(Type type)
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()
NodeWithType
getType
in interface NodeWithType<ClassExpr>
public ClassExpr setType(Type type)
NodeWithType
setType
in interface NodeWithType<ClassExpr>
type
- the typeCopyright © 2007–2016. All rights reserved.