org.objectweb.asm.tree

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

Method Summary

void
accept(CodeVisitor cv)
Makes the given code visitor visit this line number declaration.

Field Details

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 Details

LineNumberNode

public LineNumberNode(int line,
                      Label start)
Constructs a new LineNumberNode object.
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 Details

accept

public void accept(CodeVisitor cv)
Makes the given code visitor visit this line number declaration.
Parameters:
cv - a code visitor.