org.jetbrains.kotlin.resolve.calls.inference
Class ConstraintsUtil
java.lang.Object
org.jetbrains.kotlin.resolve.calls.inference.ConstraintsUtil
public class ConstraintsUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintsUtil
public ConstraintsUtil()
getFirstConflictingParameter
@Nullable
public static TypeParameterDescriptor getFirstConflictingParameter(@NotNull
ConstraintSystem constraintSystem)
getSubstitutorsForConflictingParameters
@NotNull
public static java.util.Collection<TypeSubstitutor> getSubstitutorsForConflictingParameters(@NotNull
ConstraintSystem constraintSystem)
getSafeValue
@NotNull
public static JetType getSafeValue(@NotNull
ConstraintSystem constraintSystem,
@NotNull
TypeParameterDescriptor typeParameter)
checkUpperBoundIsSatisfied
public static boolean checkUpperBoundIsSatisfied(@NotNull
ConstraintSystem constraintSystem,
@NotNull
TypeParameterDescriptor typeParameter,
boolean substituteOtherTypeParametersInBound)
checkBoundsAreSatisfied
public static boolean checkBoundsAreSatisfied(@NotNull
ConstraintSystem constraintSystem,
boolean substituteOtherTypeParametersInBounds)
getDebugMessageForStatus
public static java.lang.String getDebugMessageForStatus(@NotNull
ConstraintSystemStatus status)