|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.jet.codegen.when.SwitchCodegenUtil
public class SwitchCodegenUtil
| Constructor Summary | |
|---|---|
SwitchCodegenUtil()
|
|
| Method Summary | |
|---|---|
static SwitchCodegen |
buildAppropriateSwitchCodegenIfPossible(JetWhenExpression expression,
boolean isStatement,
ExpressionCodegen codegen)
|
static boolean |
checkAllItemsAreConstantsSatisfying(JetWhenExpression expression,
BindingContext bindingContext,
kotlin.Function1<CompileTimeConstant,java.lang.Boolean> predicate)
|
static java.lang.Iterable<CompileTimeConstant> |
getAllConstants(JetWhenExpression expression,
BindingContext bindingContext)
|
static java.lang.Iterable<CompileTimeConstant> |
getConstantsFromEntry(JetWhenEntry 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
JetWhenExpression expression,
@NotNull
BindingContext bindingContext,
kotlin.Function1<CompileTimeConstant,java.lang.Boolean> predicate)
@NotNull
public static java.lang.Iterable<CompileTimeConstant> getAllConstants(@NotNull
JetWhenExpression expression,
@NotNull
BindingContext bindingContext)
@NotNull
public static java.lang.Iterable<CompileTimeConstant> getConstantsFromEntry(@NotNull
JetWhenEntry entry,
@NotNull
BindingContext bindingContext)
@Nullable
public static SwitchCodegen buildAppropriateSwitchCodegenIfPossible(@NotNull
JetWhenExpression expression,
boolean isStatement,
@NotNull
ExpressionCodegen codegen)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||