io.codemodder.remediation.FixCandidate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codemodder-base Show documentation
Show all versions of codemodder-base Show documentation
Base framework for writing codemods in Java
package io.codemodder.remediation;
import com.github.javaparser.ast.expr.MethodCallExpr;
import java.util.List;
import java.util.Objects;
/** The potential fix location. */
public record FixCandidate(MethodCallExpr methodCall, List issues) {
public FixCandidate {
Objects.requireNonNull(methodCall);
Objects.requireNonNull(issues);
if (issues.isEmpty()) {
throw new IllegalArgumentException("issues cannot be empty");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy