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

io.codemodder.remediation.LegacyFixCandidate Maven / Gradle / Ivy

package io.codemodder.remediation;

import java.util.List;
import java.util.Objects;

/** The potential fix location. */
@Deprecated
public record LegacyFixCandidate(MethodOrConstructor call, List issues) {

  public LegacyFixCandidate {
    Objects.requireNonNull(call);
    Objects.requireNonNull(issues);
    if (issues.isEmpty()) {
      throw new IllegalArgumentException("issues cannot be empty");
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy