public class ArrayBracketPair extends Node implements NodeWithAnnotations<ArrayBracketPair>
int[] a[];
there are two ArrayBracketPair objects,
one for the [] after int, one for the [] after a.ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ArrayBracketPair(Range range,
List<AnnotationExpr> annotations) |
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<AnnotationExpr> |
getAnnotations() |
ArrayBracketPair |
setAnnotations(List<AnnotationExpr> annotations) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, 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, isAnnotationPresent, isAnnotationPresent
public ArrayBracketPair(Range range, List<AnnotationExpr> annotations)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public List<AnnotationExpr> getAnnotations()
getAnnotations
in interface NodeWithAnnotations<ArrayBracketPair>
public ArrayBracketPair setAnnotations(List<AnnotationExpr> annotations)
setAnnotations
in interface NodeWithAnnotations<ArrayBracketPair>
Copyright © 2007–2016. All rights reserved.