|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.cfg.WhenChecker
public final class WhenChecker
| Method Summary | |
|---|---|
static boolean |
containsNullCase(JetWhenExpression expression,
BindingTrace trace)
|
static ClassDescriptor |
getClassDescriptorOfTypeIfEnum(JetType type)
|
static boolean |
isWhenByEnum(JetWhenExpression expression,
BindingContext context)
|
static boolean |
isWhenExhaustive(JetWhenExpression expression,
BindingTrace trace)
|
static boolean |
isWhenOnEnumExhaustive(JetWhenExpression expression,
BindingTrace trace,
ClassDescriptor enumClassDescriptor)
|
static boolean |
mustHaveElse(JetWhenExpression expression,
BindingTrace trace)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean mustHaveElse(@NotNull
JetWhenExpression expression,
@NotNull
BindingTrace trace)
public static boolean isWhenByEnum(@NotNull
JetWhenExpression expression,
@NotNull
BindingContext context)
@Nullable
public static ClassDescriptor getClassDescriptorOfTypeIfEnum(@Nullable
JetType type)
public static boolean isWhenOnEnumExhaustive(@NotNull
JetWhenExpression expression,
@NotNull
BindingTrace trace,
@NotNull
ClassDescriptor enumClassDescriptor)
public static boolean isWhenExhaustive(@NotNull
JetWhenExpression expression,
@NotNull
BindingTrace trace)
public static boolean containsNullCase(@NotNull
JetWhenExpression expression,
@NotNull
BindingTrace trace)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||