gr.uom.java.xmi.decomposition.replacement.ObjectCreationReplacement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refactoring-miner Show documentation
Show all versions of refactoring-miner Show documentation
RefactoringMiner is a library/API written in Java that can detect refactorings applied in the history of a Java project.
package gr.uom.java.xmi.decomposition.replacement;
import gr.uom.java.xmi.decomposition.ObjectCreation;
public class ObjectCreationReplacement extends Replacement {
private ObjectCreation createdObjectBefore;
private ObjectCreation createdObjectAfter;
public ObjectCreationReplacement(String before, String after,
ObjectCreation createdObjectBefore, ObjectCreation createdObjectAfter,
ReplacementType type) {
super(before, after, type);
this.createdObjectBefore = createdObjectBefore;
this.createdObjectAfter = createdObjectAfter;
}
public ObjectCreation getCreatedObjectBefore() {
return createdObjectBefore;
}
public ObjectCreation getCreatedObjectAfter() {
return createdObjectAfter;
}
}