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

io.codemodder.plugins.llm.NoActionLLMRemediationOutcome Maven / Gradle / Ivy

There is a newer version: 0.97.6
Show newest version
package io.codemodder.plugins.llm;

import java.util.Objects;

/** Models the parameters for a remediation analysis that results in no code changes. */
public record NoActionLLMRemediationOutcome(String key, String description)
    implements LLMRemediationOutcome {

  public NoActionLLMRemediationOutcome {
    Objects.requireNonNull(key);
    Objects.requireNonNull(description);
  }

  @Override
  public String fix() {
    return "N/A";
  }

  @Override
  public boolean shouldApplyCodeChanges() {
    return false;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy