| java.lang.Object net.sourceforge.groboutils.codecoverage.v2.compiler.ModifiedMethod
ModifiedMethod | public class ModifiedMethod (Code) | | Refers to a class file that has been modified with additional logging
statements.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2004/04/15 05:48:25 $ since: December 17, 2002 |
Constructor Summary | |
| ModifiedMethod(short methodIndex, int classSigPoolIndex, int staticMethodPoolIndex, JavaClass origC, Method origM, MethodGen mg) |
ModifiedMethod | ModifiedMethod(short methodIndex, int classSigPoolIndex, int staticMethodPoolIndex, JavaClass origC, Method origM, MethodGen mg)(Code) | | throws: IllegalStateException - if the class file has already beenmodified (identified by a class name field). |
canAddMarks | public boolean canAddMarks()(Code) | | Returns true if the method can be modified, otherwise returns
false. A method can be modified only if it is not native,
not abstract, and it has a code attribute.
|
getMethodIndex | public short getMethodIndex()(Code) | | |
getModifiedMethodGen | MethodGen getModifiedMethodGen()(Code) | | The modified method generator is only valid before a close.
|
getNewMethod | Method getNewMethod()(Code) | | This should only be called *after* a close.
|
getOriginalClass | public JavaClass getOriginalClass()(Code) | | |
getOriginalMethod | public Method getOriginalMethod()(Code) | | |
|
|