|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.jet.lang.types.TypeSubstitutor
public class TypeSubstitutor
| Nested Class Summary | |
|---|---|
static class |
TypeSubstitutor.MapToTypeSubstitutionAdapter
|
| Field Summary | |
|---|---|
static TypeSubstitutor |
EMPTY
|
| Constructor Summary | |
|---|---|
protected |
TypeSubstitutor(TypeSubstitution substitution)
|
| Method Summary | |
|---|---|
static TypeSubstitutor |
create(JetType context)
|
static TypeSubstitutor |
create(java.util.Map<TypeConstructor,TypeProjection> substitutionContext)
|
static TypeSubstitutor |
create(TypeSubstitution... substitutions)
|
static TypeSubstitutor |
create(TypeSubstitution substitution)
|
static TypeSubstitutor |
createUnsafe(java.util.Map<TypeConstructor,TypeProjection> substitutionContext)
No assertion for immediate recursion |
TypeSubstitution |
getSubstitution()
|
boolean |
inRange(TypeConstructor typeConstructor)
|
boolean |
isEmpty()
|
JetType |
safeSubstitute(JetType type,
Variance howThisTypeIsUsed)
|
JetType |
substitute(JetType type,
Variance howThisTypeIsUsed)
|
TypeProjection |
substitute(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 |
|---|
public static TypeSubstitutor create(@NotNull
TypeSubstitution substitution)
public static TypeSubstitutor create(@NotNull
TypeSubstitution... substitutions)
public static TypeSubstitutor createUnsafe(@NotNull
java.util.Map<TypeConstructor,TypeProjection> substitutionContext)
public static TypeSubstitutor create(@NotNull
java.util.Map<TypeConstructor,TypeProjection> substitutionContext)
public static TypeSubstitutor create(@NotNull
JetType context)
public boolean inRange(@NotNull
TypeConstructor typeConstructor)
public boolean isEmpty()
@NotNull public TypeSubstitution getSubstitution()
@NotNull
public JetType safeSubstitute(@NotNull
JetType type,
@NotNull
Variance howThisTypeIsUsed)
@Nullable
public JetType substitute(@NotNull
JetType type,
@NotNull
Variance howThisTypeIsUsed)
@Nullable
public TypeProjection substitute(@NotNull
TypeProjection typeProjection)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||