com.saxonica.bytecode.util
Class LabelInfo
java.lang.Object
com.saxonica.bytecode.util.LabelInfo
public class LabelInfo
- extends Object
An ASM label object with some control information to enable better diagnostics
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabelInfo
public LabelInfo()
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
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.