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