@GwtIncompatible(value="com.google.common.primitives.UnsignedBytes")
class FileInstrumentationData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arrayName |
private java.lang.String |
fileName |
private BitSet |
instrumentedBits |
Constructor and Description |
---|
FileInstrumentationData(java.lang.String fileName,
java.lang.String arrayName) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
getArrayName() |
(package private) java.lang.String |
getFileName() |
(package private) java.lang.String |
getInstrumentedLinesAsHexString()
Returns a byte-wise hex string representation of the BitField from
MSB (Most Significant Byte) to LSB (Least Significant Byte).
|
(package private) void |
setLineAsInstrumented(int lineNumber)
Mark given 1-based line number as instrumented.
|
private final BitSet instrumentedBits
private final java.lang.String arrayName
private final java.lang.String fileName
FileInstrumentationData(java.lang.String fileName, java.lang.String arrayName)
java.lang.String getArrayName()
java.lang.String getFileName()
java.lang.String getInstrumentedLinesAsHexString()
void setLineAsInstrumented(int lineNumber)
lineNumber
- the line number which was instrumented