org.nutz.repo.org.objectweb.asm
类 Label

java.lang.Object
  继承者 org.nutz.repo.org.objectweb.asm.Label

public class Label
extends java.lang.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

字段摘要
 java.lang.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.
 java.lang.String toString()
          Returns a string representation of this label.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

info

public java.lang.Object info
Field used to associate user information to a label. Warning: this field is used by the ASM tree package.

构造方法详细信息

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.
抛出:
java.lang.IllegalStateException - if this label is not resolved yet.

toString

public java.lang.String toString()
Returns a string representation of this label.

覆盖:
java.lang.Object 中的 toString
返回:
a string representation of this label.