All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.refactoringminer.astDiff.actions.model.MoveOut Maven / Gradle / Ivy

package org.refactoringminer.astDiff.actions.model;

import com.github.gumtreediff.actions.model.TreeAddition;
import com.github.gumtreediff.tree.Tree;

/**
 * @author  Pourya Alikhani Fard [email protected]
 */
public class MoveOut extends TreeAddition {
	private String dstFile;

	public MoveOut(Tree node, Tree parent, String dstfile, int pos) {
		super(node, parent, pos);
		this.dstFile = dstfile;
	}

	public String getDstFile() {
		return dstFile;
	}

	@Override
	public String getName() {
		return "M";
	}

	@Override
	public String toString()  {
		return "Moved to File: " + getDstFile();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy