io.codemodder.plugins.llm.NoActionLLMRemediationOutcome Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codemodder-plugin-llm Show documentation
Show all versions of codemodder-plugin-llm Show documentation
Codemod plugin for augmenting transformation with LLM assisted analysis and fixes
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;
}
}