java.lang.Object
edu.university.ecs.lab.intermediate.merge.services.MergeService

public class MergeService extends Object
This class is used for creating new IR's from old IR + Delta and provides all functionality related to updating the old IR
  • Constructor Details

    • MergeService

      public MergeService(String intermediatePath, String deltaPath, String configPath)
  • Method Details

    • generateMergeIR

      public void generateMergeIR()
      This method generates the new IR from the old IR + Delta file
    • modifyFiles

      public void modifyFiles(Delta delta)
      This method modifies a JClass based on a Delta change
      Parameters:
      delta - the delta change for modifying
    • addFile

      public void addFile(Delta delta)
      This method adds a JClass based on a Delta change
      Parameters:
      delta - the delta change for adding
    • removeFile

      public void removeFile(Delta delta)
      This method removes a JClass based on a Delta change
      Parameters:
      delta - the delta change for removal