|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.types.TypeIntersector
public class TypeIntersector
| Constructor Summary | |
|---|---|
TypeIntersector()
|
|
| Method Summary | |
|---|---|
static KotlinType |
getUpperBoundsAsType(TypeParameterDescriptor descriptor)
Note: this method was used in overload and override bindings to approximate type parameters with several bounds, but as it turned out at some point, that logic was inconsistent with Java rules, so it was simplified. |
static KotlinType |
intersectTypes(KotlinTypeChecker typeChecker,
java.util.Collection<KotlinType> types)
|
static boolean |
isIntersectionEmpty(KotlinType typeA,
KotlinType typeB)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeIntersector()
| Method Detail |
|---|
public static boolean isIntersectionEmpty(@NotNull
KotlinType typeA,
@NotNull
KotlinType typeB)
@Nullable
public static KotlinType intersectTypes(@NotNull
KotlinTypeChecker typeChecker,
@NotNull
java.util.Collection<KotlinType> types)
@NotNull
public static KotlinType getUpperBoundsAsType(@NotNull
TypeParameterDescriptor descriptor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||