Interface CtLabelledFlowBreak

All Superinterfaces:
Cloneable, CtCFlowBreak, CtCodeElement, CtElement, CtQueryable, CtStatement, CtVisitable, FactoryAccessor, Serializable, SourcePositionHolder
All Known Subinterfaces:
CtBreak, CtContinue
All Known Implementing Classes:
CtBreakImpl, CtContinueImpl

public interface CtLabelledFlowBreak extends CtCFlowBreak
This abstract code element represents all the statements that break the control flow of the program and which can support a label.
  • Method Details

    • getTargetLabel

      String getTargetLabel()
      Gets the label from which the control flow breaks (null if no label defined).
    • setTargetLabel

      <T extends CtLabelledFlowBreak> T setTargetLabel(String targetLabel)
      Sets the label from which the control flow breaks (null if no label defined).
    • getLabelledStatement

      CtStatement getLabelledStatement()