Class IfElseCompletionTck

java.lang.Object
io.micronaut.sourcegen.bytecode.tck.IfElseCompletionTck

public abstract class IfElseCompletionTck extends Object
An if/else statement whose then branch completes normally continues after the whole statement, not into the else branch.
Since:
2.2.3
  • Constructor Details

    • IfElseCompletionTck

      public IfElseCompletionTck()
  • Method Details

    • write

      protected abstract byte[] write(ObjectDef definition)
      Parameters:
      definition - The definition
      Returns:
      The class file
    • thenBranchThatCompletesSkipsTheElseBranch

      @Test public void thenBranchThatCompletesSkipsTheElseBranch() throws Exception
      Throws:
      Exception