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(FunctionDescriptor function)
           
static boolean containsErrorType(JetType type)
           
static JetScope createErrorScope(java.lang.String debugMessage)
           
static JetScope createErrorScope(java.lang.String debugMessage, boolean throwExceptions)
           
static JetType createErrorType(java.lang.String debugMessage)
           
static TypeConstructor createErrorTypeConstructor(java.lang.String debugMessage)
           
static JetType createErrorTypeWithCustomDebugName(java.lang.String debugName)
           
static ClassDescriptor getErrorClass()
           
static ModuleDescriptor getErrorModule()
           
static boolean isError(DeclarationDescriptor candidate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

containsErrorType

public static boolean containsErrorType(@NotNull
                                        FunctionDescriptor function)

createErrorScope

@NotNull
public static JetScope createErrorScope(@NotNull
                                                java.lang.String debugMessage)

createErrorScope

@NotNull
public static JetScope createErrorScope(@NotNull
                                                java.lang.String debugMessage,
                                                boolean throwExceptions)

createErrorType

@NotNull
public static JetType createErrorType(@NotNull
                                              java.lang.String debugMessage)

createErrorTypeWithCustomDebugName

@NotNull
public static JetType createErrorTypeWithCustomDebugName(@NotNull
                                                                 java.lang.String debugName)

createErrorTypeConstructor

@NotNull
public static TypeConstructor createErrorTypeConstructor(@NotNull
                                                                 java.lang.String debugMessage)

getErrorClass

@NotNull
public static ClassDescriptor getErrorClass()

containsErrorType

public static boolean containsErrorType(@Nullable
                                        JetType type)

isError

public static boolean isError(@NotNull
                              DeclarationDescriptor candidate)

getErrorModule

@NotNull
public static ModuleDescriptor getErrorModule()