Package org.jacoco.agent.rt.internal
Class ClassFileDumper
- java.lang.Object
-
- org.jacoco.agent.rt.internal.ClassFileDumper
-
class ClassFileDumper extends java.lang.ObjectInternal dumper for class files.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.Filelocation
-
Constructor Summary
Constructors Constructor Description ClassFileDumper(java.lang.String location)Create a new dumper for the given location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voiddump(java.lang.String name, byte[] contents)Dumps the given binary content under the given name if a non-nulllocation has been specified.
-
-
-
Method Detail
-
dump
void dump(java.lang.String name, byte[] contents) throws java.io.IOExceptionDumps the given binary content under the given name if a non-nulllocation has been specified.- Parameters:
name- qualified class name in VM notationcontents- binary contents- Throws:
java.io.IOException- in case of problems while dumping the file
-
-