Class AbstractSwitchWriter

java.lang.Object
io.micronaut.sourcegen.bytecode.AbstractSwitchWriter

public class AbstractSwitchWriter extends Object
The abstract switch writer.
Since:
1.5
Author:
Denis Stepanov
  • Constructor Details

    • AbstractSwitchWriter

      public AbstractSwitchWriter()
  • Method Details

    • pushSwitchExpression

      protected static void pushSwitchExpression(org.objectweb.asm.commons.GeneratorAdapter generatorAdapter, MethodContext context, ExpressionDef expression)
    • toSwitchKey

      protected static int toSwitchKey(ExpressionDef.Constant constant)