Package io.codemodder
Interface CodemodFileScanningResult
public interface CodemodFileScanningResult
Represents the result of scanning a file for changes.
-
Method Summary
Modifier and TypeMethodDescriptionchanges()Returns the changes that were made to the file.List<io.codemodder.codetf.DetectorFinding>findings()Returns the results of the findings that were hoping to be addressed.static CodemodFileScanningResultfrom(List<CodemodChange> changes, List<io.codemodder.codetf.DetectorFinding> findings) Creates a new instance ofCodemodFileScanningResultfrom the given values.static CodemodFileScanningResultnone()Creates an empty instance ofCodemodFileScanningResult.static CodemodFileScanningResultwithOnlyChanges(List<CodemodChange> changes) Creates an instance ofCodemodFileScanningResultwith only changes.
-
Method Details
-
from
static CodemodFileScanningResult from(List<CodemodChange> changes, List<io.codemodder.codetf.DetectorFinding> findings) Creates a new instance ofCodemodFileScanningResultfrom the given values. -
none
Creates an empty instance ofCodemodFileScanningResult. -
withOnlyChanges
Creates an instance ofCodemodFileScanningResultwith only changes. -
changes
List<CodemodChange> changes()Returns the changes that were made to the file. -
findings
List<io.codemodder.codetf.DetectorFinding> findings()Returns the results of the findings that were hoping to be addressed.
-