| Modifier and Type | Field and Description |
|---|---|
| private NodeList |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| public | Type(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private. |
| Modifier and Type | Method and Description |
|---|---|
| public ArrayType | |
| public ClassOrInterfaceType | |
| public IntersectionType | |
| public PrimitiveType | |
| public ReferenceType | |
| public abstract String | |
| public TypeParameter | |
| public UnionType | |
| public UnknownType | |
| public VarType | |
| public VoidType | |
| public WildcardType | |
| public Type | |
| public AnnotationExpr | |
| public NodeList | |
| public int | |
| public Type | |
| public TypeMetaModel | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public abstract ResolvedType | |
| public Type | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional | |
| public Optional |
| annotations | back to summary |
|---|---|
| private NodeList<AnnotationExpr> annotations | |
| Type | back to summary |
|---|---|
| protected Type(TokenRange range) Several sub classes do not support annotations. This is a support constructor for them. | |
| Type | back to summary |
|---|---|
public Type(NodeList<AnnotationExpr> annotations)
| |
| Type | back to summary |
|---|---|
| public Type(TokenRange tokenRange, NodeList<AnnotationExpr> annotations) This constructor is used by the parser and is considered private.
| |
| asArrayType | back to summary |
|---|---|
public ArrayType asArrayType()
| |
| asClassOrInterfaceType | back to summary |
|---|---|
public ClassOrInterfaceType asClassOrInterfaceType()
| |
| asIntersectionType | back to summary |
|---|---|
public IntersectionType asIntersectionType()
| |
| asPrimitiveType | back to summary |
|---|---|
public PrimitiveType asPrimitiveType()
| |
| asReferenceType | back to summary |
|---|---|
public ReferenceType asReferenceType()
| |
| asString | back to summary |
|---|---|
| public abstract String asString() | |
| asTypeParameter | back to summary |
|---|---|
public TypeParameter asTypeParameter()
| |
| asUnionType | back to summary |
|---|---|
public UnionType asUnionType()
| |
| asUnknownType | back to summary |
|---|---|
public UnknownType asUnknownType()
| |
| asVarType | back to summary |
|---|---|
public VarType asVarType()
| |
| asVoidType | back to summary |
|---|---|
public VoidType asVoidType()
| |
| asWildcardType | back to summary |
|---|---|
public WildcardType asWildcardType()
| |
| clone | back to summary |
|---|---|
| public Type clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getAnnotation | back to summary |
|---|---|
| public AnnotationExpr getAnnotation(int i) | |
| getAnnotations | back to summary |
|---|---|
public NodeList
| |
| getArrayLevel | back to summary |
|---|---|
| public int getArrayLevel() | |
| getElementType | back to summary |
|---|---|
| public Type getElementType() Finds the element type, meaning: the type without ArrayTypes around it.
In " | |
| getMetaModel | back to summary |
|---|---|
| public TypeMetaModel getMetaModel() Overrides com.
| |
| ifArrayType | back to summary |
|---|---|
public void ifArrayType(Consumer<ArrayType> action)
| |
| ifClassOrInterfaceType | back to summary |
|---|---|
public void ifClassOrInterfaceType(Consumer<ClassOrInterfaceType> action)
| |
| ifIntersectionType | back to summary |
|---|---|
public void ifIntersectionType(Consumer<IntersectionType> action)
| |
| ifPrimitiveType | back to summary |
|---|---|
public void ifPrimitiveType(Consumer<PrimitiveType> action)
| |
| ifReferenceType | back to summary |
|---|---|
public void ifReferenceType(Consumer<ReferenceType> action)
| |
| ifTypeParameter | back to summary |
|---|---|
public void ifTypeParameter(Consumer<TypeParameter> action)
| |
| ifUnionType | back to summary |
|---|---|
public void ifUnionType(Consumer<UnionType> action)
| |
| ifUnknownType | back to summary |
|---|---|
public void ifUnknownType(Consumer<UnknownType> action)
| |
| ifVarType | back to summary |
|---|---|
public void ifVarType(Consumer<VarType> action)
| |
| ifVoidType | back to summary |
|---|---|
public void ifVoidType(Consumer<VoidType> action)
| |
| ifWildcardType | back to summary |
|---|---|
public void ifWildcardType(Consumer<WildcardType> action)
| |
| isArrayType | back to summary |
|---|---|
public boolean isArrayType()
| |
| isClassOrInterfaceType | back to summary |
|---|---|
public boolean isClassOrInterfaceType()
| |
| isIntersectionType | back to summary |
|---|---|
public boolean isIntersectionType()
| |
| isPrimitiveType | back to summary |
|---|---|
public boolean isPrimitiveType()
| |
| isReferenceType | back to summary |
|---|---|
public boolean isReferenceType()
| |
| isTypeParameter | back to summary |
|---|---|
public boolean isTypeParameter()
| |
| isUnionType | back to summary |
|---|---|
public boolean isUnionType()
| |
| isUnknownType | back to summary |
|---|---|
public boolean isUnknownType()
| |
| isVarType | back to summary |
|---|---|
public boolean isVarType()
| |
| isVoidType | back to summary |
|---|---|
public boolean isVoidType()
| |
| isWildcardType | back to summary |
|---|---|
public boolean isWildcardType()
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| resolve | back to summary |
|---|---|
| public abstract ResolvedType resolve() Redeclares com.
| |
| setAnnotations | back to summary |
|---|---|
public Type setAnnotations(final NodeList<AnnotationExpr> annotations)
| |
| toArrayType | back to summary |
|---|---|
public Optional
| |
| toClassOrInterfaceType | back to summary |
|---|---|
public Optional
| |
| toIntersectionType | back to summary |
|---|---|
public Optional
| |
| toPrimitiveType | back to summary |
|---|---|
public Optional
| |
| toReferenceType | back to summary |
|---|---|
public Optional
| |
| toTypeParameter | back to summary |
|---|---|
public Optional
| |
| toUnionType | back to summary |
|---|---|
public Optional
| |
| toUnknownType | back to summary |
|---|---|
public Optional
| |
| toVarType | back to summary |
|---|---|
public Optional
| |
| toVoidType | back to summary |
|---|---|
public Optional
| |
| toWildcardType | back to summary |
|---|---|
public Optional
| |