|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.groboutils.codecoverage.v2.compiler.ModifiedClass
Refers to a class file that has been modified with additional logging statements.
| Constructor Summary | |
ModifiedClass(ParseCoverageLogger pcl,
java.lang.String filename,
byte[] originalClassFile)
|
|
ModifiedClass(java.lang.String filename,
byte[] originalClassFile)
Uses the default settings for the ParseCoverageLogger during the creation of the modified class. |
|
| Method Summary | |
ClassRecord |
createClassRecord(AnalysisModuleSet ams)
|
long |
getClassCRC()
|
java.lang.String |
getClassName()
|
java.lang.String |
getClassSignature()
|
ModifiedMethod[] |
getMethods()
Return all modifiable methods owned by the class. |
byte[] |
getModifiedClass()
Returns the class in its current state, and closes off the modified class from further modifications. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModifiedClass(java.lang.String filename,
byte[] originalClassFile)
throws java.io.IOException
filename - the name of the file the class file was pulled from.
java.lang.IllegalStateException - if the class file has already been
modified (identified by a class name field).
java.io.IOException
public ModifiedClass(ParseCoverageLogger pcl,
java.lang.String filename,
byte[] originalClassFile)
throws java.io.IOException
pcl - the definition for the logger to create method references
for. This allows for easier testing and customizations of the
logger to compile for.filename - the name of the file the class file was pulled from.
java.lang.IllegalStateException - if the class file has already been
modified (identified by a class name field).
java.io.IOException| Method Detail |
public java.lang.String getClassName()
public long getClassCRC()
public java.lang.String getClassSignature()
public ClassRecord createClassRecord(AnalysisModuleSet ams)
public ModifiedMethod[] getMethods()
public byte[] getModifiedClass()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||