public class UnionType extends Type<UnionType> implements NodeWithAnnotations<UnionType>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION
Constructor and Description |
---|
UnionType(NodeList<ReferenceType<?>> elements) |
UnionType(Range range,
NodeList<ReferenceType<?>> elements) |
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<ReferenceType<?>> |
getElements() |
UnionType |
setElements(NodeList<ReferenceType<?>> elements) |
getAnnotations, setAnnotations
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
addAnnotation, addAnnotation, addMarkerAnnotation, addMarkerAnnotation, addSingleMemberAnnotation, addSingleMemberAnnotation, getAnnotationByClass, getAnnotationByName, getAnnotations, isAnnotationPresent, isAnnotationPresent, setAnnotations
public UnionType(Range range, NodeList<ReferenceType<?>> elements)
public UnionType(NodeList<ReferenceType<?>> elements)
public NodeList<ReferenceType<?>> getElements()
public UnionType setElements(NodeList<ReferenceType<?>> elements)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
Copyright © 2007–2016. All rights reserved.