org.springframework.asm

## 类 Label

- java.lang.Object
- - org.springframework.asm.Label

-     public class Label
      extends Object

  A label represents a position in the bytecode of a method. Labels are used for jump, goto, and switch instructions, and for try catch blocks. A label designates the instruction that is just after. Note however that there can be other elements between a label and the instruction it designates (such as other labels, stack map frames, line numbers, etc.).
  作者:
    Eric Bruneton

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `Object` | `info` Field used to associate user information to a label.

  - ### 构造器概要

    构造器
    构造器和说明
    `Label()` Constructs a new label.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `getOffset()` Returns the offset corresponding to this label.
    `String` | `toString()` Returns a string representation of this label.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 字段详细资料

    - #### info

          public Object info

      Field used to associate user information to a label. Warning: this field is used by the ASM tree package. In order to use it with the ASM tree package you must override the `org.objectweb.asm.tree.MethodNode#getLabelNode` method.

  - ### 构造器详细资料

    - #### Label

          public Label()

      Constructs a new label.

  - ### 方法详细资料

    - #### getOffset

          public int getOffset()

      Returns the offset corresponding to this label. This offset is computed from the start of the method's bytecode. This method is intended for `Attribute` sub classes, and is normally not needed by class generators or adapters.
      返回:
        the offset corresponding to this label.
      抛出:
        `IllegalStateException` - if this label is not resolved yet.

    - #### toString

          public String toString()

      Returns a string representation of this label.
      覆盖:
        `toString` 在类中 `Object`
      返回:
        a string representation of this label.