|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jetbrains.kotlin.codegen.when.SwitchCodegenUtil
public class SwitchCodegenUtil
Constructor Summary | |
---|---|
SwitchCodegenUtil()
|
Method Summary | |
---|---|
static SwitchCodegen |
buildAppropriateSwitchCodegenIfPossible(KtWhenExpression expression,
boolean isStatement,
boolean isExhaustive,
ExpressionCodegen codegen)
|
static boolean |
checkAllItemsAreConstantsSatisfying(KtWhenExpression expression,
BindingContext bindingContext,
kotlin.jvm.functions.Function1<
|
static java.lang.Iterable< |
getAllConstants(KtWhenExpression expression,
BindingContext bindingContext)
|
static java.lang.Iterable< |
getConstantsFromEntry(KtWhenEntry entry,
BindingContext bindingContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwitchCodegenUtil()
Method Detail |
---|
public static boolean checkAllItemsAreConstantsSatisfying(@NotNull KtWhenExpression expression, @NotNull BindingContext bindingContext, kotlin.jvm.functions.Function1<,java.lang.Boolean> predicate)
@NotNull public static java.lang.Iterable<> getAllConstants(@NotNull KtWhenExpression expression, @NotNull BindingContext bindingContext)
@NotNull public static java.lang.Iterable<> getConstantsFromEntry(@NotNull KtWhenEntry entry, @NotNull BindingContext bindingContext)
@Nullable public static SwitchCodegen buildAppropriateSwitchCodegenIfPossible(@NotNull KtWhenExpression expression, boolean isStatement, boolean isExhaustive, @NotNull ExpressionCodegen codegen)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |