Package io.codemodder
Interface ProjectProvider
public interface ProjectProvider
A type that plugins can implement to provide a project management functions to codemods.
-
Method Summary
Modifier and TypeMethodDescriptionupdateDependencies
(Path projectDir, Path file, List<DependencyGAV> remainingFileDependencies) Given the file edited during codemod execution, attempt to update the dependencies in the project to allow referencing new types.
-
Method Details
-
updateDependencies
DependencyUpdateResult updateDependencies(Path projectDir, Path file, List<DependencyGAV> remainingFileDependencies) throws IOException Given the file edited during codemod execution, attempt to update the dependencies in the project to allow referencing new types.- Throws:
IOException
-