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, wait
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, isArray, isConstraint, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, replaceTypeVariables, toDescriptor
public static ResolvedWildcard UNBOUNDED
public static ResolvedWildcard superBound(ResolvedType type)
public static ResolvedWildcard extendsBound(ResolvedType type)
public boolean isWildcard()
isWildcard
in interface ResolvedType
public ResolvedWildcard asWildcard()
asWildcard
in interface ResolvedType
public String describe()
describe
in interface ResolvedType
public boolean isSuper()
public boolean isExtends()
public boolean isBounded()
public ResolvedType getBoundedType()
public boolean isAssignableBy(ResolvedType other)
ResolvedType
isAssignableBy
in interface ResolvedType
public ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)
ResolvedType
replaceTypeVariables
in interface ResolvedType
public boolean mention(List<ResolvedTypeParameterDeclaration> typeParameters)
ResolvedType
mention
in interface ResolvedType
public boolean isUpperBounded()
public boolean isLowerBounded()
public ResolvedType solveGenericTypes(Context context)
solveGenericTypes
in interface ResolvedType
public ResolvedType erasure()
erasure
in interface ResolvedType
Copyright © 2007–2024. All rights reserved.