Interface Label


public interface Label
Represents a label bound to a method body.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates an unconditional goto statement to this label, which doesn't need to be positioned yet.
    Sets the position of the label at the location of the next code instruction.
    Returns the MethodMaker that this label belongs to.
  • Method Details

    • here

      Label here()
      Sets the position of the label at the location of the next code instruction.
      Returns:
      this label
      Throws:
      IllegalStateException - if label is already positioned
    • goto_

      Label goto_()
      Generates an unconditional goto statement to this label, which doesn't need to be positioned yet.
      Returns:
      this label
      See Also:
    • methodMaker

      MethodMaker methodMaker()
      Returns the MethodMaker that this label belongs to.