Interface Diff

All Known Implementing Classes:
DescriptionBasedDiff

public interface Diff
All the differences to be applied to a source file to be applied in a refactoring.
Author:
sjnickerson@google.com (Simon Nickerson)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies this difference to the supplied sourceFile.
    Gets the name of the file this difference applies to
  • Method Details

    • getRelevantFileName

      String getRelevantFileName()
      Gets the name of the file this difference applies to
    • applyDifferences

      void applyDifferences(SourceFile sourceFile)
      Applies this difference to the supplied sourceFile.