|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mvel2.asm.Label
public class Label
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.).
| Field Summary | |
|---|---|
Object |
info
A user managed state associated with this label. |
| Constructor Summary | |
|---|---|
Label()
Constructs a new label. |
|
| Method Summary | |
|---|---|
int |
getOffset()
Returns the bytecode offset corresponding to this label. |
String |
toString()
Returns a string representation of this label. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Object info
| Constructor Detail |
|---|
public Label()
| Method Detail |
|---|
public int getOffset()
Attribute sub classes, and is
normally not needed by class generators or adapters.
IllegalStateException - if this label is not resolved yet.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||