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

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

There is a newer version: 0.98.6
Show newest version
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