io.codemodder.DefaultCodemodInvocationContext 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;
import java.nio.file.Path;
import java.util.Collection;
import java.util.Objects;
record DefaultCodemodInvocationContext(
CodeDirectory codeDirectory,
Path path,
String contents,
String codemodId,
LineIncludesExcludes lineIncludesExcludes,
Collection dependencies)
implements CodemodInvocationContext {
DefaultCodemodInvocationContext {
Objects.requireNonNull(codeDirectory);
Objects.requireNonNull(path);
Objects.requireNonNull(contents);
Objects.requireNonNull(codemodId);
Objects.requireNonNull(lineIncludesExcludes);
Objects.requireNonNull(dependencies);
}
}