Package org.jacoco.agent.rt.internal
Class ClassFileDumper
- java.lang.Object
-
- org.jacoco.agent.rt.internal.ClassFileDumper
-
class ClassFileDumper extends java.lang.Object
Internal dumper for class files.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
location
-
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) void
dump(java.lang.String name, byte[] contents)
Dumps the given binary content under the given name if a non-null
location has been specified.
-
-
-
Method Detail
-
dump
void dump(java.lang.String name, byte[] contents) throws java.io.IOException
Dumps the given binary content under the given name if a non-null
location 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
-
-