public class DefaultSignificantCode extends DefaultStorable implements NewSignificantCode
storage
Constructor and Description |
---|
DefaultSignificantCode() |
DefaultSignificantCode(SensorStorage storage) |
Modifier and Type | Method and Description |
---|---|
DefaultSignificantCode |
addRange(TextRange range)
Add a range of significant code.
|
protected void |
doSave() |
InputFile |
inputFile() |
DefaultSignificantCode |
onFile(InputFile inputFile)
The file for which significant code is being reported.
|
java.util.SortedMap<java.lang.Integer,TextRange> |
significantCodePerLine() |
save, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
save
public DefaultSignificantCode()
public DefaultSignificantCode(@Nullable SensorStorage storage)
public DefaultSignificantCode onFile(InputFile inputFile)
NewSignificantCode
onFile
in interface NewSignificantCode
public DefaultSignificantCode addRange(TextRange range)
NewSignificantCode
addRange
in interface NewSignificantCode
protected void doSave()
doSave
in class DefaultStorable
public InputFile inputFile()
public java.util.SortedMap<java.lang.Integer,TextRange> significantCodePerLine()