public class ErrorUtils extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorUtils.ErrorScope |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsErrorType(JetType type) |
static ConstructorDescriptor |
createErrorConstructor(int typeParameterCount,
java.util.List<JetType> positionedValueParameterTypes) |
static JetScope |
createErrorScope(java.lang.String debugMessage) |
static JetScope |
createErrorScope(java.lang.String debugMessage,
boolean throwExceptions) |
static JetType |
createErrorType(java.lang.String debugMessage) |
static JetType |
createErrorTypeWithCustomDebugName(java.lang.String debugName) |
static JetType |
createWrongVarianceErrorType(TypeProjection value) |
static ClassifierDescriptor |
getErrorClass() |
static ModuleDescriptor |
getErrorModule() |
static boolean |
isError(DeclarationDescriptor candidate) |
static boolean |
isError(TypeConstructor typeConstructor) |
static boolean |
isErrorType(JetType type) |
public static JetScope createErrorScope(java.lang.String debugMessage)
public static JetScope createErrorScope(java.lang.String debugMessage, boolean throwExceptions)
public static ConstructorDescriptor createErrorConstructor(int typeParameterCount, java.util.List<JetType> positionedValueParameterTypes)
@NotNull public static JetType createErrorType(java.lang.String debugMessage)
@NotNull public static JetType createErrorTypeWithCustomDebugName(java.lang.String debugName)
public static JetType createWrongVarianceErrorType(TypeProjection value)
public static ClassifierDescriptor getErrorClass()
public static boolean isError(@NotNull TypeConstructor typeConstructor)
public static boolean isErrorType(@NotNull JetType type)
public static boolean containsErrorType(@Nullable JetType type)
public static boolean isError(@NotNull DeclarationDescriptor candidate)
public static ModuleDescriptor getErrorModule()