public abstract class ReferenceType extends Type
Node.BreadthFirstIterator, Node.DirectChildrenIterator, Node.ObserverRegistrationMode, Node.ParentsVisitor, Node.Parsedness, Node.PostOrderIterator, Node.PreOrderIterator, Node.TreeTraversalABSOLUTE_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, toWildcardTypeaddOrphanComment, containsData, createDefaultPrinter, createDefaultPrinter, customInitialization, equals, findAll, findAll, findAll, findCompilationUnit, 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, walkfinalize, getClass, notify, notifyAll, wait, wait, waitconvertToUsagefindAncestor, findAncestor, findAncestor, hasParentNode, isDescendantOfcontainsWithin, containsWithinRange, getBegin, getEnd, hasRangepublic ReferenceType()
public ReferenceType(NodeList<AnnotationExpr> annotations)
public ReferenceType(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
public ReferenceType clone()
public ReferenceTypeMetaModel getMetaModel()
getMetaModel in class Typepublic boolean isReferenceType()
isReferenceType in class Typepublic ReferenceType asReferenceType()
asReferenceType in class Typepublic void ifReferenceType(Consumer<ReferenceType> action)
ifReferenceType in class Typepublic Optional<ReferenceType> toReferenceType()
toReferenceType in class Typepublic abstract String toDescriptor()
toDescriptor in class TypeCopyright © 2007–2023. All rights reserved.