Interface JIf

All Superinterfaces:
JBlock, JCommentable, JStatement
All Known Implementing Classes:
ImplJIf

public interface JIf extends JBlock
An if statement.
  • Method Details

    • _else

      JBlock _else()
      Get the else condition block.
      Returns:
      the else block
    • elseIf

      JIf elseIf(JExpr cond)
      Add an if statement to the else block.
      Parameters:
      cond - the subsequent if condition
      Returns:
      the subsequent if statement