Interface LabelTarget

All Superinterfaces:
ClassFileElement, CodeElement, PseudoInstruction
All Known Implementing Classes:
LabelImpl

public sealed interface LabelTarget extends PseudoInstruction permits LabelImpl
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:
22
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