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

org.refactoringminer.astDiff.actions.model.MoveIn 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 MoveIn extends TreeAddition {
	private String srcFile;

	public MoveIn(Tree node, Tree parent, String srcFile, int pos) {
		super(node, parent, pos);
		this.srcFile = srcFile;
	}

	public String getSrcFile() {
		return srcFile;
	}

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

	@Override
	public String toString()  {
		return "moved from file: " + getSrcFile();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy