Class AtLastChange

All Implemented Interfaces:

public class AtLastChange extends Object implements ChangeLocation

Identifies a location to apply a change by finding the last step that changed in the build state. Finds the change in reverse order, so that the last step and chain among all changes are returned.

  • Field Details

  • Method Details

    • find

      public List<> find(IncrementalBuildState buildState)
      Specified by:
      find in interface ChangeLocation
      a list of locations where the change should be made to the given state.
    • findOne

      public Optional<> findOne(IncrementalBuildState buildState)
      Specified by:
      findOne in interface ChangeLocation
    • toString

      public String toString()
      Specified by:
      toString in interface ChangeLocation
      toString in class Object
    • findLastChange

      protected findLastChange( oldAst, latestAst)