public class LazyType extends Object implements ResolvedType
| Constructor and Description |
|---|
LazyType(Function<Void,ResolvedType> provider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasConstraintType, asUnionType, erasure, isConstraint, isInferenceVariable, isNumericType, isUnionType, mention, solveGenericTypes, toDescriptorpublic LazyType(Function<Void,ResolvedType> provider)
public boolean isArray()
isArray in interface ResolvedTypepublic int arrayLevel()
arrayLevel in interface ResolvedTypepublic boolean isPrimitive()
ResolvedTypeisPrimitive in interface ResolvedTypepublic boolean isNull()
ResolvedTypeisNull in interface ResolvedTypepublic boolean isReference()
ResolvedTypeisReference in interface ResolvedTypepublic boolean isReferenceType()
ResolvedTypeisReferenceType in interface ResolvedTypepublic boolean isVoid()
isVoid in interface ResolvedTypepublic boolean isTypeVariable()
isTypeVariable in interface ResolvedTypepublic boolean isWildcard()
isWildcard in interface ResolvedTypepublic ResolvedArrayType asArrayType()
asArrayType in interface ResolvedTypepublic ResolvedReferenceType asReferenceType()
asReferenceType in interface ResolvedTypepublic ResolvedTypeParameterDeclaration asTypeParameter()
asTypeParameter in interface ResolvedTypepublic ResolvedTypeVariable asTypeVariable()
asTypeVariable in interface ResolvedTypepublic ResolvedPrimitiveType asPrimitive()
asPrimitive in interface ResolvedTypepublic ResolvedWildcard asWildcard()
asWildcard in interface ResolvedTypepublic String describe()
describe in interface ResolvedTypepublic ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)
ResolvedTypereplaceTypeVariables in interface ResolvedTypepublic ResolvedType replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced)
ResolvedTypeResolvedType.replaceTypeVariables(ResolvedTypeParameterDeclaration, ResolvedType, Map) but ignores the inferred values.replaceTypeVariables in interface ResolvedTypepublic boolean isAssignableBy(ResolvedType other)
ResolvedTypeisAssignableBy in interface ResolvedTypeCopyright © 2007–2023. All rights reserved.