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

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy