org.jetbrains.jet.lang.types
Class ErrorUtils

java.lang.Object
  extended by org.jetbrains.jet.lang.types.ErrorUtils

public class ErrorUtils
extends java.lang.Object


Nested Class Summary
static class ErrorUtils.ErrorScope
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()