org.objectweb.asm.tree
Class LineNumberNode

java.lang.Object
  extended by org.objectweb.asm.tree.LineNumberNode

public class LineNumberNode
extends Object

A node that represents a line number declaration.

Author:
Eric Bruneton

Field Summary
 int line
          A line number.
 Label start
          The first instruction corresponding to this line number.
 
Constructor Summary
LineNumberNode(int line, Label start)
          Constructs a new LineNumberNode.
 
Method Summary
 void accept(MethodVisitor mv)
          Makes the given visitor visit this line number declaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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.