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

io.codemodder.plugins.llm.CodeChangingLLMRemediationOutcome 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 + actual direction for changing the code. */
public record CodeChangingLLMRemediationOutcome(String key, String description, String fix)
    implements LLMRemediationOutcome {

  public CodeChangingLLMRemediationOutcome {
    Objects.requireNonNull(key);
    Objects.requireNonNull(description);
    Objects.requireNonNull(fix);
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy