Package io.micronaut.sourcegen.bytecode
Class AbstractSwitchWriter
java.lang.Object
io.micronaut.sourcegen.bytecode.AbstractSwitchWriter
The abstract switch writer.
- Since:
- 1.5
- Author:
- Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
pushSwitchExpression
(org.objectweb.asm.commons.GeneratorAdapter generatorAdapter, MethodContext context, ExpressionDef expression) protected static int
toSwitchKey
(ExpressionDef.Constant constant)
-
Constructor Details
-
AbstractSwitchWriter
public AbstractSwitchWriter()
-
-
Method Details
-
pushSwitchExpression
protected static void pushSwitchExpression(org.objectweb.asm.commons.GeneratorAdapter generatorAdapter, MethodContext context, ExpressionDef expression) -
toSwitchKey
-