|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.types.TypeUnifier
public class TypeUnifier
| Nested Class Summary | |
|---|---|
static interface |
TypeUnifier.UnificationResult
|
| Constructor Summary | |
|---|---|
TypeUnifier()
|
|
| Method Summary | |
|---|---|
static TypeUnifier.UnificationResult |
unify(TypeProjection knownProjection,
TypeProjection projectWithVariables,
com.google.common.base.Predicate<TypeConstructor> isVariable)
Finds a substitution S that turns projectWithVariables to knownProjection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeUnifier()
| Method Detail |
|---|
@NotNull
public static TypeUnifier.UnificationResult unify(@NotNull
TypeProjection knownProjection,
@NotNull
TypeProjection projectWithVariables,
@NotNull
com.google.common.base.Predicate<TypeConstructor> isVariable)
projectWithVariables to knownProjection.
Example:
known = ListisVariable are considered variables.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||