Class TableSwitch

java.lang.Object
dev.quantumfusion.hyphen.codegen.statement.TableSwitch
All Implemented Interfaces:
AutoCloseable

public class TableSwitch extends Object implements AutoCloseable
  • Field Details

    • mh

      protected final MethodHandler mh
    • labels

      protected final List<org.objectweb.asm.Label> labels
    • defaultLabel

      protected final org.objectweb.asm.Label defaultLabel
  • Constructor Details

    • TableSwitch

      public TableSwitch(MethodHandler mh, int min, int max)
  • Method Details

    • labels

      public void labels(IntConsumer action)
    • defaultLabel

      public void defaultLabel()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable