Package gnu.bytecode

Class Label

java.lang.Object
gnu.bytecode.Label

public class Label extends Object
A Label represents a location in a Code attribute.
  • Constructor Details

    • Label

      public Label()
    • Label

      public Label(CodeAttr code)
    • Label

      public Label(int position)
  • Method Details

    • defined

      public final boolean defined()
    • isUsed

      public boolean isUsed()
    • setTypes

      public void setTypes(CodeAttr code)
    • setTypes

      public void setTypes(Label other)
    • defineRaw

      public void defineRaw(CodeAttr code)
      Define the value of a label as having the current location.
      Parameters:
      code - the "Code" attribute of the current method
    • define

      public void define(CodeAttr code)
      Define the value of a label as having the current location.
      Parameters:
      code - the "Code" attribute of the current method