Package com.saxonica.ee.bytecode.util
Class LabelInfo
- java.lang.Object
-
- com.saxonica.ee.bytecode.util.LabelInfo
-
public class LabelInfo extends java.lang.Object
An ASM label object with some control information to enable better diagnostics
-
-
Constructor Summary
Constructors Constructor Description LabelInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isUsed()
Ask whether this label has been used (that is, whether any instructions have been generated that refer to it)NamedLabel
label()
Get the underlying ASM label object
-
-
-
Method Detail
-
label
public NamedLabel label()
Get the underlying ASM label object- Returns:
- the ASM label
-
isUsed
public boolean isUsed()
Ask whether this label has been used (that is, whether any instructions have been generated that refer to it)- Returns:
- true if the label has been used
-
-