org.jetbrains.jet.lang.types
Class ErrorUtils
java.lang.Object
org.jetbrains.jet.lang.types.ErrorUtils
public class ErrorUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createErrorScope
public static JetScope createErrorScope(java.lang.String debugMessage)
createErrorScope
public static JetScope createErrorScope(java.lang.String debugMessage,
boolean throwExceptions)
createErrorConstructor
public static ConstructorDescriptor createErrorConstructor(int typeParameterCount,
java.util.List<JetType> positionedValueParameterTypes)
createErrorType
@NotNull
public static JetType createErrorType(java.lang.String debugMessage)
createErrorTypeWithCustomDebugName
@NotNull
public static JetType createErrorTypeWithCustomDebugName(java.lang.String debugName)
createWrongVarianceErrorType
public static JetType createWrongVarianceErrorType(TypeProjection value)
getErrorClass
public static ClassifierDescriptor getErrorClass()
isError
public static boolean isError(@NotNull
TypeConstructor typeConstructor)
isErrorType
public static boolean isErrorType(@NotNull
JetType type)
containsErrorType
public static boolean containsErrorType(@Nullable
JetType type)
isError
public static boolean isError(@NotNull
DeclarationDescriptor candidate)
getErrorModule
public static ModuleDescriptor getErrorModule()