public abstract class Type<T extends Type> extends Node
Node.ObserverRegistrationModeABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION, prettyPrinterNoCommentsConfiguration| Constructor and Description |
|---|
Type(Range range,
NodeList<AnnotationExpr> annotations) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationExpr |
getAnnotation(int i) |
NodeList<AnnotationExpr> |
getAnnotations() |
Type<?> |
getElementType()
Finds the element type, meaning: the type without ArrayTypes around it.
|
T |
setAnnotations(NodeList<AnnotationExpr> annotations) |
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBegin, getChildNodes, getComment, getData, getEnd, getNodeLists, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getRange, hasComment, hashCode, isPositionedAfter, isPositionedBefore, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setRange, toString, toString, tryAddImportToParentCompilationUnit, unregisterfinalize, getClass, notify, notifyAll, wait, wait, waitgetAncestorOfType, setAsParentNodeOf, setAsParentNodeOfpublic Type(Range range, NodeList<AnnotationExpr> annotations)
public NodeList<AnnotationExpr> getAnnotations()
public AnnotationExpr getAnnotation(int i)
public T setAnnotations(NodeList<AnnotationExpr> annotations)
public Type<?> getElementType()
int[] a[];", the element type is int.Copyright © 2007–2016. All rights reserved.