net.sourceforge.groboutils.codecoverage.v2.module
Class BytecodeLineUtil

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.module.BytecodeLineUtil

public class BytecodeLineUtil
extends java.lang.Object

Helper that processes bytecode instructions and line-numbering

Since:
February 18, 2003
Version:
$Date: 2003/02/28 01:57:34 $
Author:
Matt Albrecht groboclown@users.sourceforge.net
See Also:
IAnalysisMetaData

Constructor Summary
BytecodeLineUtil(IMethodCode m)
           
BytecodeLineUtil(org.apache.bcel.classfile.Method m)
           
 
Method Summary
 org.apache.bcel.generic.InstructionHandle[] getHandles()
           
 int getInstructionPosForBytecodePos(int bytecodePos)
           
 int getLineNumber(org.apache.bcel.generic.InstructionHandle ih)
           
 int getLineNumberForBytecodePos(int bytecodePos)
           
 int getLineNumberForInstructionPos(int instrPos)
           
protected  void initialize(org.apache.bcel.classfile.Method m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytecodeLineUtil

public BytecodeLineUtil(org.apache.bcel.classfile.Method m)

BytecodeLineUtil

public BytecodeLineUtil(IMethodCode m)
Method Detail

getHandles

public org.apache.bcel.generic.InstructionHandle[] getHandles()

getLineNumber

public int getLineNumber(org.apache.bcel.generic.InstructionHandle ih)

getLineNumberForBytecodePos

public int getLineNumberForBytecodePos(int bytecodePos)

getLineNumberForInstructionPos

public int getLineNumberForInstructionPos(int instrPos)

getInstructionPosForBytecodePos

public int getInstructionPosForBytecodePos(int bytecodePos)

initialize

protected void initialize(org.apache.bcel.classfile.Method m)


Copyright © 2001-2003 by The GroboUtils Project