proguard.classfile.attribute
Class LineNumberTableAttribute
java.lang.Object
proguard.classfile.attribute.Attribute
proguard.classfile.attribute.LineNumberTableAttribute
- All Implemented Interfaces:
- VisitorAccepter
public class LineNumberTableAttribute
- extends Attribute
This Attribute represents a line number table attribute.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
u2lineNumberTableLength
public int u2lineNumberTableLength
lineNumberTable
public LineNumberInfo[] lineNumberTable
LineNumberTableAttribute
public LineNumberTableAttribute()
- Creates an uninitialized LineNumberTableAttribute.
getLineNumber
public int getLineNumber(int pc)
- Returns the line number corresponding to the given byte code program
counter.
accept
public void accept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
AttributeVisitor attributeVisitor)
- Description copied from class:
Attribute
- Accepts the given visitor in the context of the given code attribute.
- Overrides:
accept in class Attribute
lineNumbersAccept
public void lineNumbersAccept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
LineNumberInfoVisitor lineNumberInfoVisitor)
- Applies the given visitor to all line numbers.