|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.types.ErrorUtils
public class ErrorUtils
| Nested Class Summary | |
|---|---|
static class |
ErrorUtils.ErrorScope
|
static class |
ErrorUtils.FunctionPlaceholderTypeConstructor
|
static class |
ErrorUtils.UninferredParameterTypeConstructor
|
| Method Summary | |
|---|---|
static boolean |
containsErrorType(FunctionDescriptor function)
|
static boolean |
containsErrorType(JetType type)
|
static boolean |
containsUninferredParameter(JetType type)
|
static ClassDescriptor |
createErrorClass(java.lang.String debugMessage)
|
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 TypeParameterDescriptor |
createErrorTypeParameter(int index,
java.lang.String debugMessage)
|
static JetType |
createErrorTypeWithArguments(java.lang.String debugMessage,
java.util.List<TypeProjection> arguments)
|
static JetType |
createErrorTypeWithCustomDebugName(java.lang.String debugName)
|
static JetType |
createFunctionPlaceholderType(java.util.List<JetType> argumentTypes,
boolean hasDeclaredArguments)
|
static JetType |
createUninferredParameterType(TypeParameterDescriptor typeParameterDescriptor)
|
static ModuleDescriptor |
getErrorModule()
|
static boolean |
isError(DeclarationDescriptor candidate)
|
static boolean |
isFunctionPlaceholder(JetType type)
|
static boolean |
isUninferredParameter(JetType type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean containsErrorType(@NotNull
FunctionDescriptor function)
@NotNull
public static ClassDescriptor createErrorClass(@NotNull
java.lang.String debugMessage)
@NotNull
public static JetScope createErrorScope(@NotNull
java.lang.String debugMessage)
@NotNull
public static JetScope createErrorScope(@NotNull
java.lang.String debugMessage,
boolean throwExceptions)
@NotNull
public static JetType createErrorType(@NotNull
java.lang.String debugMessage)
@NotNull
public static JetType createErrorTypeWithCustomDebugName(@NotNull
java.lang.String debugName)
@NotNull
public static JetType createErrorTypeWithArguments(@NotNull
java.lang.String debugMessage,
@NotNull
java.util.List<TypeProjection> arguments)
@NotNull
public static TypeConstructor createErrorTypeConstructor(@NotNull
java.lang.String debugMessage)
public static boolean containsErrorType(@Nullable
JetType type)
public static boolean isError(@NotNull
DeclarationDescriptor candidate)
@NotNull
public static TypeParameterDescriptor createErrorTypeParameter(int index,
@NotNull
java.lang.String debugMessage)
@NotNull public static ModuleDescriptor getErrorModule()
public static boolean isUninferredParameter(@Nullable
JetType type)
public static boolean containsUninferredParameter(@Nullable
JetType type)
@NotNull
public static JetType createUninferredParameterType(@NotNull
TypeParameterDescriptor typeParameterDescriptor)
public static boolean isFunctionPlaceholder(@Nullable
JetType type)
@NotNull
public static JetType createFunctionPlaceholderType(@NotNull
java.util.List<JetType> argumentTypes,
boolean hasDeclaredArguments)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||