org.jetbrains.kotlin.codegen.when
Class IntegralConstantsSwitchCodegen

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.when.SwitchCodegen
      extended by org.jetbrains.kotlin.codegen.when.IntegralConstantsSwitchCodegen

public class IntegralConstantsSwitchCodegen
extends SwitchCodegen


Field Summary
 
Fields inherited from class org.jetbrains.kotlin.codegen.when.SwitchCodegen
bindingContext, codegen, defaultLabel, elseLabel, endLabel, entryLabels, expression, isExhaustive, isStatement, resultType, subjectType, transitionsTable, v
 
Constructor Summary
IntegralConstantsSwitchCodegen(KtWhenExpression expression, boolean isStatement, boolean isExhaustive, ExpressionCodegen codegen)
           
 
Method Summary
protected  void processConstant( constant, org.jetbrains.org.objectweb.asm.Label entryLabel)
           
 
Methods inherited from class org.jetbrains.kotlin.codegen.when.SwitchCodegen
generate, generateEntries, generateNullCheckIfNeeded, generateSubject, putTransitionOnce
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegralConstantsSwitchCodegen

public IntegralConstantsSwitchCodegen(@NotNull
                                      KtWhenExpression expression,
                                      boolean isStatement,
                                      boolean isExhaustive,
                                      @NotNull
                                      ExpressionCodegen codegen)
Method Detail

processConstant

protected void processConstant(@NotNull
                                constant,
                               @NotNull
                               org.jetbrains.org.objectweb.asm.Label entryLabel)
Specified by:
processConstant in class SwitchCodegen