public final class OfflineInstrumenter extends OfflineInstrumenterBase
OfflineInstrumenterBase.ManifestBuildercha| Constructor and Description |
|---|
OfflineInstrumenter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getClassName(Object cl) |
protected Object |
makeClassFromStream(String inputName,
BufferedInputStream s) |
ClassInstrumenter |
nextClass()
Get the next class to be instrumented.
|
void |
outputModifiedClass(ClassInstrumenter out)
Update the original class with some method changes.
|
void |
outputModifiedClass(ClassInstrumenter out,
ClassWriter code)
Update the original class with some method changes.
|
protected void |
writeClassTo(Object cl,
Object mods,
OutputStream s) |
addInputClass, addInputDirectory, addInputElement, addInputJar, addInputJarEntry, addOutputJarEntry, beginTraversal, close, copyStream, endOutputJarEntry, getLastClassResourceName, getNumInputClasses, getOutputFile, internalNextClass, internalOutputModifiedClass, parseStandardArgs, setClassHierarchyProvider, setIgnore, setJARComment, setManifestBuilder, setOutputJar, setPassUnmodifiedClasses, writeUnmodifiedClassesprotected Object makeClassFromStream(String inputName, BufferedInputStream s) throws IOException
makeClassFromStream in class OfflineInstrumenterBaseIOExceptionprotected String getClassName(Object cl)
getClassName in class OfflineInstrumenterBaseprotected void writeClassTo(Object cl, Object mods, OutputStream s) throws IOException
writeClassTo in class OfflineInstrumenterBaseIOExceptionpublic ClassInstrumenter nextClass() throws IOException
IOExceptionpublic void outputModifiedClass(ClassInstrumenter out, ClassWriter code) throws IllegalStateException, IOException
IllegalStateExceptionIOExceptionpublic void outputModifiedClass(ClassInstrumenter out) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionCopyright © 2019. All rights reserved.