org.apache.bcel.generic
public class LineNumberGen extends Object implements InstructionTargeter, Cloneable, Serializable
Version: $Id: LineNumberGen.java 386056 2006-03-15 11:31:56Z tcurdt $
See Also: LineNumber MethodGen
| Field Summary | |
|---|---|
| InstructionHandle | ih |
| int | src_line |
| Constructor Summary | |
|---|---|
| LineNumberGen(InstructionHandle ih, int src_line)
Create a line number.
| |
| Method Summary | |
|---|---|
| Object | clone() |
| boolean | containsTarget(InstructionHandle ih) |
| InstructionHandle | getInstruction() |
| LineNumber | getLineNumber()
Get LineNumber attribute .
|
| int | getSourceLine() |
| void | setInstruction(InstructionHandle ih) |
| void | setSourceLine(int src_line) |
| void | updateTarget(InstructionHandle old_ih, InstructionHandle new_ih) |
Parameters: ih instruction handle to reference
Returns: true, if ih is target of this line number
Parameters: old_ih old target new_ih new target