Package jnr.x86asm
Class Label
- java.lang.Object
-
- jnr.x86asm.Operand
-
- jnr.x86asm.Label
-
public final class Label extends Operand
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
id
Label Id (0 means unknown).(package private) java.util.List<LinkData>
links
(package private) int
position
Position (always positive, information depends to @c state).(package private) LABEL_STATE
state
State of label, seeLABEL_STATE
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isBound()
Returns @c true if label is bound.(package private) boolean
isLinked()
Returns @c true if label is linked.(package private) boolean
isUnused()
Returns @c true if label is unused (not bound or linked).(package private) void
link(LinkData link)
(package private) int
position()
Returns the position of bound or linked labels, -1 if label is unused.
-
-
-
Field Detail
-
id
final int id
Label Id (0 means unknown).
-
state
LABEL_STATE state
State of label, seeLABEL_STATE
.
-
position
int position
Position (always positive, information depends to @c state).
-
links
final java.util.List<LinkData> links
-
-
Method Detail
-
isUnused
final boolean isUnused()
Returns @c true if label is unused (not bound or linked).
-
isLinked
final boolean isLinked()
Returns @c true if label is linked.
-
isBound
final boolean isBound()
Returns @c true if label is bound.
-
position
final int position()
Returns the position of bound or linked labels, -1 if label is unused.
-
link
final void link(LinkData link)
-
-