public class Label
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
int |
flags |
The type and status of this label or its corresponding basic block.
|
java.lang.Object |
info |
A user managed state associated with this label.
|
Constructor | Description |
---|---|
Label() |
Constructs a new label.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getOffset() |
Returns the bytecode offset corresponding to this label.
|
java.lang.String |
toString() |
Returns a string representation of this label.
|
public java.lang.Object info
public int flags
FLAG_DEBUG_ONLY
, FLAG_JUMP_TARGET
, FLAG_RESOLVED
, FLAG_REACHABLE
, FLAG_SUBROUTINE_CALLER
, FLAG_SUBROUTINE_START
, FLAG_SUBROUTINE_END
.public int getOffset()
Attribute
sub classes, and is
normally not needed by class generators or adapters.java.lang.IllegalStateException
- if this label is not resolved yet.public java.lang.String toString()
toString
in class java.lang.Object