public final class LabelReference
extends java.lang.Object
LabelManager
).Modifier | Constructor and Description |
---|---|
protected |
LabelReference(LabelReference other) |
protected |
LabelReference(LabelValue lazyLabel) |
|
LabelReference(LabelValue lazyLabel,
LocationAccessor patcher) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<LabelReference> |
copyAll(java.util.List<LabelReference> labelRefs) |
java.math.BigInteger |
getArgumentValue()
Returns the value assigned (instead of a real address or offset) to the primitive (OP or MODE)
argument the label reference is associated with.
|
LocationAccessor |
getPatcher() |
Label |
getReference()
Return a
Label object that describes a reference to a label with a specific name made
from a specific block. |
LabelManager.Target |
getTarget() |
void |
resetTarget() |
void |
setTarget(LabelManager.Target target) |
java.lang.String |
toString() |
protected LabelReference(LabelValue lazyLabel)
public LabelReference(LabelValue lazyLabel, LocationAccessor patcher)
protected LabelReference(LabelReference other)
public static java.util.List<LabelReference> copyAll(java.util.List<LabelReference> labelRefs)
public Label getReference()
Label
object that describes a reference to a label with a specific name made
from a specific block. There is no correspondence between the returned label and the actual
label that will be chosen for control transfer. It just provides context that helps choose the
most suitable label.public java.math.BigInteger getArgumentValue()
public LabelManager.Target getTarget()
public void setTarget(LabelManager.Target target)
public void resetTarget()
public LocationAccessor getPatcher()
public java.lang.String toString()
toString
in class java.lang.Object