| java.lang.Object net.sourceforge.groboutils.codecoverage.v2.compiler.ModifiedInstructionList
ModifiedInstructionList | public class ModifiedInstructionList (Code) | | Refers to a class file that has been modified with additional logging
statements.
As of January 22, 2003, the appending of probes to the end of the
instruction list is no longer supported; supporting it would mean that
instructions will be added to a method after the final "return" calls,
which might cause class file validation errors.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2004/04/15 05:48:25 $ since: December 17, 2002 |
ModifiedInstructionList | ModifiedInstructionList(short methodIndex, int classSigPoolIndex, int staticMethodPoolIndex, InstructionList list, ModifiedTargeters mt)(Code) | | throws: IllegalStateException - if the class file has already beenmodified (identified by a class name field). |
getInstructionCount | public int getInstructionCount()(Code) | | |
isValidInstructionList | public static boolean isValidInstructionList(InstructionList list)(Code) | | |
updateInstructionList | void updateInstructionList()(Code) | | This method can safely be called multiple times.
Bug: We need to keep track of the original handle, and the corresponding
new handle that goes before it, so that we can go back and recreate the
CodeException objects for the method.
|
|
|