ResolvedWildcard

A wildcard can be: - unbounded (?) - have a lower bound (? super Number) - have an upper bound (? extends Number) It is not possible to have both a lower and an upper bound at the same time.

Author

Federico Tomassetti

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun arrayLevel(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun describe(): String
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun erasure(): ResolvedType
Link copied to clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isArray(): Boolean
Link copied to clipboard
This method checks if ThisType t = new OtherType() would compile.
Link copied to clipboard
open fun isBounded(): Boolean
Link copied to clipboard
open fun isConstraint(): Boolean
Is this a lambda constraint type?
Link copied to clipboard
open fun isExtends(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isNull(): Boolean
Is this the null type?
Link copied to clipboard
Link copied to clipboard
open fun isPrimitive(): Boolean
Is this a primitive type?
Link copied to clipboard
open fun isReference(): Boolean
Is this a non primitive value?
Link copied to clipboard
Can this be seen as a ReferenceTypeUsage?
Link copied to clipboard
open fun isSuper(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isUnionType(): Boolean
Is this a union type (as the ones used in multi catch clauses)?
Link copied to clipboard
Link copied to clipboard
open fun isVoid(): Boolean
Link copied to clipboard
open fun isWildcard(): Boolean
Link copied to clipboard
Does this type mention at all, directly or indirectly, the given type parameters?
Link copied to clipboard
This is like (replaceTypeVariables but ignores the inferred values.
Replace all variables referring to the given TypeParameter with the given value.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toDescriptor(): String
Link copied to clipboard
open fun toString(): String