|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.jet.lang.types.SubstitutionUtils
public class SubstitutionUtils
| Constructor Summary | |
|---|---|
SubstitutionUtils()
|
|
| Method Summary | |
|---|---|
static void |
assertNotImmediatelyRecursive(java.util.Map<TypeConstructor,TypeProjection> context)
|
static com.google.common.collect.Multimap<TypeConstructor,TypeProjection> |
buildDeepSubstitutionMultimap(JetType type)
|
static TypeSubstitutor |
buildDeepSubstitutor(JetType type)
Builds a context with all the supertypes' parameters substituted |
static java.util.Map<TypeConstructor,TypeProjection> |
buildSubstitutionContext(JetType context)
|
static java.util.Map<TypeConstructor,TypeProjection> |
buildSubstitutionContext(java.util.List<TypeParameterDescriptor> parameters,
java.util.List<? extends TypeProjection> contextArguments)
|
static boolean |
hasUnsubstitutedTypeParameters(JetType type)
|
static TypeProjection |
makeStarProjection(TypeParameterDescriptor parameterDescriptor)
|
static java.util.Map<TypeConstructor,TypeProjection> |
removeTrivialSubstitutions(java.util.Map<TypeConstructor,TypeProjection> context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubstitutionUtils()
| Method Detail |
|---|
@NotNull
public static java.util.Map<TypeConstructor,TypeProjection> buildSubstitutionContext(@NotNull
JetType context)
@NotNull
public static TypeSubstitutor buildDeepSubstitutor(@NotNull
JetType type)
@NotNull
public static com.google.common.collect.Multimap<TypeConstructor,TypeProjection> buildDeepSubstitutionMultimap(@NotNull
JetType type)
@NotNull
public static java.util.Map<TypeConstructor,TypeProjection> buildSubstitutionContext(@NotNull
java.util.List<TypeParameterDescriptor> parameters,
@NotNull
java.util.List<? extends TypeProjection> contextArguments)
@NotNull
public static TypeProjection makeStarProjection(@NotNull
TypeParameterDescriptor parameterDescriptor)
public static boolean hasUnsubstitutedTypeParameters(JetType type)
public static java.util.Map<TypeConstructor,TypeProjection> removeTrivialSubstitutions(java.util.Map<TypeConstructor,TypeProjection> context)
public static void assertNotImmediatelyRecursive(java.util.Map<TypeConstructor,TypeProjection> context)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||