public class ResolvedWildcard extends Object implements ResolvedType
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedWildcard.BoundType |
| Modifier and Type | Field and Description |
|---|---|
static ResolvedWildcard |
UNBOUNDED |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitarrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, isArray, isConstraint, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, replaceTypeVariables, toDescriptorpublic static ResolvedWildcard UNBOUNDED
public static ResolvedWildcard superBound(ResolvedType type)
public static ResolvedWildcard extendsBound(ResolvedType type)
public boolean isWildcard()
isWildcard in interface ResolvedTypepublic ResolvedWildcard asWildcard()
asWildcard in interface ResolvedTypepublic String describe()
describe in interface ResolvedTypepublic boolean isSuper()
public boolean isExtends()
public boolean isBounded()
public ResolvedType getBoundedType()
public boolean isAssignableBy(ResolvedType other)
ResolvedTypeisAssignableBy in interface ResolvedTypepublic ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)
ResolvedTypereplaceTypeVariables in interface ResolvedTypepublic boolean mention(List<ResolvedTypeParameterDeclaration> typeParameters)
ResolvedTypemention in interface ResolvedTypepublic boolean isUpperBounded()
public boolean isLowerBounded()
public ResolvedType solveGenericTypes(Context context)
solveGenericTypes in interface ResolvedTypepublic ResolvedType erasure()
erasure in interface ResolvedTypeCopyright © 2007–2023. All rights reserved.