org.objectweb.asm.tree

Class LineNumberNode

public class LineNumberNode extends AbstractInsnNode

A node that represents a line number declaration. These nodes are pseudo instruction nodes in order to be inserted in an instruction list.

Author: Eric Bruneton

Field Summary
intline
A line number.
LabelNodestart
The first instruction corresponding to this line number.
Constructor Summary
LineNumberNode(int line, LabelNode start)
Constructs a new LineNumberNode.
Method Summary
voidaccept(MethodVisitor mv)
AbstractInsnNodeclone(Map labels)
intgetType()

Field Detail

line

public int line
A line number. This number refers to the source file from which the class was compiled.

start

public LabelNode start
The first instruction corresponding to this line number.

Constructor Detail

LineNumberNode

public LineNumberNode(int line, LabelNode start)
Constructs a new LineNumberNode.

Parameters: line a line number. This number refers to the source file from which the class was compiled. start the first instruction corresponding to this line number.

Method Detail

accept

public void accept(MethodVisitor mv)

clone

public AbstractInsnNode clone(Map labels)

getType

public int getType()