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

gumtree.spoon.diff.operations.MoveOperation Maven / Gradle / Ivy

Go to download

Computes the AST difference between two Spoon abstract syntax trees using the Gumtree algorithm.

There is a newer version: 1.92
Show newest version
package gumtree.spoon.diff.operations;

import com.github.gumtreediff.actions.model.Move;

import spoon.reflect.declaration.CtElement;

public class MoveOperation extends TreeAdditionOperation {
	public MoveOperation(Move action) {
		super(action);
	}

	@Override
	public CtElement getDstNode() {
		return (CtElement) getAction().getNode().getMetadata("spoon_object_dest");
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy