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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsavepublic DefaultSignificantCode()
public DefaultSignificantCode(@Nullable
SensorStorage storage)
public DefaultSignificantCode onFile(InputFile inputFile)
NewSignificantCodeonFile in interface NewSignificantCodepublic DefaultSignificantCode addRange(TextRange range)
NewSignificantCodeaddRange in interface NewSignificantCodeprotected void doSave()
doSave in class DefaultStorablepublic InputFile inputFile()
public java.util.SortedMap<java.lang.Integer,TextRange> significantCodePerLine()