net.sourceforge.groboutils.codecoverage.v2.module
Class BytecodeLineUtil
java.lang.Object
net.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytecodeLineUtil
public BytecodeLineUtil(org.apache.bcel.classfile.Method m)
BytecodeLineUtil
public BytecodeLineUtil(IMethodCode m)
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