io.codemodder.plugins.maven.ArtifactInjectionPositionFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codemodder-plugin-maven Show documentation
Show all versions of codemodder-plugin-maven Show documentation
Plugin for providing Maven dependency management functions to codemods.
package io.codemodder.plugins.maven;
import com.github.difflib.patch.AbstractDelta;
import java.util.List;
/**
* A type for finding the most meaningful line to represent the injection point of a dependency into
* the pom.
*/
interface ArtifactInjectionPositionFinder {
/**
* Find the most meaningful line to represent the injection point of a dependency into the pom.
*/
int find(List> deltas, String artifactId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy