public abstract class ReferenceType extends Type
Node.BreadthFirstIterator, Node.DirectChildrenIterator, Node.ObserverRegistrationMode, Node.ParentsVisitor, Node.Parsedness, Node.PostOrderIterator, Node.PreOrderIterator, Node.TreeTraversal
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, LINE_SEPARATOR_KEY, NODE_BY_BEGIN_POSITION, PHANTOM_KEY, prettyPrinterNoCommentsConfiguration, PRINTER_KEY, SYMBOL_RESOLVER_KEY
Constructor and Description |
---|
ReferenceType() |
ReferenceType(NodeList<AnnotationExpr> annotations) |
ReferenceType(TokenRange tokenRange,
NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
ReferenceType |
asReferenceType() |
ReferenceType |
clone() |
ReferenceTypeMetaModel |
getMetaModel() |
void |
ifReferenceType(Consumer<ReferenceType> action) |
boolean |
isReferenceType() |
abstract String |
toDescriptor() |
Optional<ReferenceType> |
toReferenceType() |
asArrayType, asClassOrInterfaceType, asIntersectionType, asPrimitiveType, asString, asTypeParameter, asUnionType, asUnknownType, asVarType, asVoidType, asWildcardType, getAnnotation, getAnnotations, getArrayLevel, getElementType, ifArrayType, ifClassOrInterfaceType, ifIntersectionType, ifPrimitiveType, ifTypeParameter, ifUnionType, ifUnknownType, ifVarType, ifVoidType, ifWildcardType, isArrayType, isClassOrInterfaceType, isIntersectionType, isPrimitiveType, isTypeParameter, isUnionType, isUnknownType, isVarType, isVoidType, isWildcardType, remove, replace, resolve, setAnnotations, toArrayType, toClassOrInterfaceType, toIntersectionType, toPrimitiveType, toTypeParameter, toUnionType, toUnknownType, toVarType, toVoidType, toWildcardType
addOrphanComment, containsData, createDefaultPrinter, createDefaultPrinter, customInitialization, equals, findAll, findAll, findAll, findCompilationUnit, findData, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getDataKeys, getDefaultPrinterConfiguration, getLineEndingStyle, getLineEndingStyleOrDefault, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getPrinter, getPrinter, getRange, getSymbolResolver, getTokenRange, hashCode, hasScope, isAncestorOf, isPhantom, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeData, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walk
finalize, getClass, notify, notifyAll, wait, wait, wait
convertToUsage
findAncestor, findAncestor, findAncestor, hasParentNode, isDescendantOf
containsWithin, containsWithinRange, getBegin, getEnd, hasRange
public ReferenceType()
public ReferenceType(NodeList<AnnotationExpr> annotations)
public ReferenceType(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
public ReferenceType clone()
public ReferenceTypeMetaModel getMetaModel()
getMetaModel
in class Type
public boolean isReferenceType()
isReferenceType
in class Type
public ReferenceType asReferenceType()
asReferenceType
in class Type
public void ifReferenceType(Consumer<ReferenceType> action)
ifReferenceType
in class Type
public Optional<ReferenceType> toReferenceType()
toReferenceType
in class Type
public abstract String toDescriptor()
toDescriptor
in class Type
Copyright © 2007–2024. All rights reserved.