Interface LabelTarget

All Superinterfaces:
ClassFileElement, CodeElement, PseudoInstruction

public sealed interface LabelTarget extends PseudoInstruction
A pseudo-instruction which indicates that the specified label corresponds to the current position in the Code attribute. Delivered as a CodeElement during traversal of the elements of a CodeModel.
Since:
24
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the label corresponding to this target.
  • Method Details

    • label

      Label label()
      Returns the label corresponding to this target.
      Returns:
      the label corresponding to this target