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

io.codemodder.DefaultCodemodInvocationContext Maven / Gradle / Ivy

There is a newer version: 0.97.9
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy