Top Description Fields Constructors Methods
org.aspectj.apache.bcel.classfile

public final Class LineNumber

extends Object
implements Node
Class Inheritance
All Implemented Interfaces
org.aspectj.apache.bcel.classfile.Node
Imports
java.io.DataInputStream, .DataOutputStream, .IOException

This class represents a (PC offset, line number) pair, i.e., a line number in the source that corresponds to a relative address in the byte code. This is used for debugging purposes.
Authors
M. Dahm, Andy Clement
Version
$Id: LineNumber.java,v 1.6 2009/09/09 21:26:54 aclement Exp $
See Also
LineNumberTable

Field Summary

Modifier and TypeField and Description
private int
private int

Constructor Summary

AccessConstructor and Description
public
pack-priv
public
LineNumber(int startPC, int lineNumber)

Method Summary

Modifier and TypeMethod and Description
public void
public LineNumber
copy()

public final void
public final int
public final int
public final String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

lineNumberback to summary
private int lineNumber
startPCback to summary
private int startPC

Constructor Detail

LineNumberback to summary
public LineNumber(LineNumber c)
LineNumberback to summary
pack-priv LineNumber(DataInputStream file) throws IOException
LineNumberback to summary
public LineNumber(int startPC, int lineNumber)

Method Detail

acceptback to summary
public void accept(ClassVisitor v)

Implements org.aspectj.apache.bcel.classfile.Node.accept.

copyback to summary
public LineNumber copy()
dumpback to summary
public final void dump(DataOutputStream file) throws IOException
getLineNumberback to summary
public final int getLineNumber()
getStartPCback to summary
public final int getStartPC()
toStringback to summary
public final String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override