org.objectweb.asm.tree

Class LineNumberNode

public class LineNumberNode extends Object

A node that represents a line number declaration.

Author: Eric Bruneton

Field Summary
intline
A line number.
Labelstart
The first instruction corresponding to this line number.
Constructor Summary
LineNumberNode(int line, Label start)
Constructs a new {@link LineNumberNode}.
Method Summary
voidaccept(MethodVisitor mv)
Makes the given visitor visit this line number declaration.

Field Detail

line

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

start

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

Constructor Detail

LineNumberNode

public LineNumberNode(int line, Label start)
Constructs a new {@link 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)
Makes the given visitor visit this line number declaration.

Parameters: mv a method visitor.