io.codemodder.javaparser.DefaultChangesResult Maven / Gradle / Ivy
package io.codemodder.javaparser;
import io.codemodder.DependencyGAV;
import java.util.List;
import java.util.Objects;
final class DefaultChangesResult implements ChangesResult {
private final boolean changesApplied;
private final List dependenciesRequired;
DefaultChangesResult(
final boolean changesApplied, final List dependenciesRequired) {
this.changesApplied = changesApplied;
this.dependenciesRequired = Objects.requireNonNull(dependenciesRequired);
}
@Override
public boolean areChangesApplied() {
return changesApplied;
}
@Override
public List getDependenciesRequired() {
return dependenciesRequired;
}
}