gr.uom.java.xmi.decomposition.replacement.ClassInstanceCreationWithMethodInvocationReplacement Maven / Gradle / Ivy
package gr.uom.java.xmi.decomposition.replacement;
import gr.uom.java.xmi.decomposition.AbstractCall;
import gr.uom.java.xmi.decomposition.ObjectCreation;
public class ClassInstanceCreationWithMethodInvocationReplacement extends Replacement {
private ObjectCreation objectCreationBefore;
private AbstractCall invokedOperationAfter;
public ClassInstanceCreationWithMethodInvocationReplacement(String before, String after, ObjectCreation objectCreationBefore,
AbstractCall invokedOperationAfter, ReplacementType type) {
super(before, after, type);
this.objectCreationBefore = objectCreationBefore;
this.invokedOperationAfter = invokedOperationAfter;
}
public ObjectCreation getObjectCreationBefore() {
return objectCreationBefore;
}
public AbstractCall getInvokedOperationAfter() {
return invokedOperationAfter;
}
}