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.static CodemodFileScanningResultfrom(List<CodemodChange> changes, List<io.codemodder.codetf.UnfixedFinding> unfixedFindings) Creates a new instance ofCodemodFileScanningResultfrom the given values.static CodemodFileScanningResultnone()Creates an empty instance ofCodemodFileScanningResult.List<io.codemodder.codetf.UnfixedFinding>Returns the results of the findings that were hoping to be addressed.static CodemodFileScanningResultwithOnlyChanges(List<CodemodChange> changes) Creates an instance ofCodemodFileScanningResultwith only changes.
-
Method Details
-
from
static CodemodFileScanningResult from(List<CodemodChange> changes, List<io.codemodder.codetf.UnfixedFinding> unfixedFindings) 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. -
unfixedFindings
List<io.codemodder.codetf.UnfixedFinding> unfixedFindings()Returns the results of the findings that were hoping to be addressed.
-