|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.types.TypeSubstitutor
public class TypeSubstitutor
| Field Summary | |
|---|---|
static TypeSubstitutor |
EMPTY
|
| Constructor Summary | |
|---|---|
protected |
TypeSubstitutor(TypeSubstitution substitution)
|
| Method Summary | |
|---|---|
static Variance |
combine(Variance typeParameterVariance,
TypeProjection typeProjection)
|
static Variance |
combine(Variance typeParameterVariance,
Variance projectionKind)
|
static TypeSubstitutor |
create(KotlinType context)
|
static TypeSubstitutor |
create(TypeSubstitution substitution)
|
static TypeSubstitutor |
createChainedSubstitutor(TypeSubstitution first,
TypeSubstitution second)
|
TypeSubstitution |
getSubstitution()
|
boolean |
isEmpty()
|
KotlinType |
safeSubstitute(KotlinType type,
Variance howThisTypeIsUsed)
|
KotlinType |
substitute(KotlinType type,
Variance howThisTypeIsUsed)
|
TypeProjection |
substitute(TypeProjection typeProjection)
|
TypeProjection |
substituteWithoutApproximation(TypeProjection typeProjection)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final TypeSubstitutor EMPTY
| Constructor Detail |
|---|
protected TypeSubstitutor(@NotNull
TypeSubstitution substitution)
| Method Detail |
|---|
@NotNull
public static TypeSubstitutor create(@NotNull
TypeSubstitution substitution)
@NotNull
public static TypeSubstitutor createChainedSubstitutor(@NotNull
TypeSubstitution first,
@NotNull
TypeSubstitution second)
@NotNull
public static TypeSubstitutor create(@NotNull
KotlinType context)
public boolean isEmpty()
@NotNull public TypeSubstitution getSubstitution()
@NotNull
public KotlinType safeSubstitute(@NotNull
KotlinType type,
@NotNull
Variance howThisTypeIsUsed)
@Nullable
public KotlinType substitute(@NotNull
KotlinType type,
@NotNull
Variance howThisTypeIsUsed)
@Nullable
public TypeProjection substitute(@NotNull
TypeProjection typeProjection)
@Nullable
public TypeProjection substituteWithoutApproximation(@NotNull
TypeProjection typeProjection)
@NotNull
public static Variance combine(@NotNull
Variance typeParameterVariance,
@NotNull
TypeProjection typeProjection)
@NotNull
public static Variance combine(@NotNull
Variance typeParameterVariance,
@NotNull
Variance projectionKind)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||