io.codemodder.SarifParser 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.List;
import java.util.Map;
/**
* Parses a list of sarif {@link Path}s to a {@link Map} of {@link RuleSarif}s organized by tool
* name.
*/
public interface SarifParser {
/**
* Given a list of sarif {@link Path}s, organize them into a {@link Map} containing {@link
* RuleSarif}s organized by tool name.
*/
Map> parseIntoMap(List sarifFiles, CodeDirectory codeDirectory);
static SarifParser create() {
return new DefaultSarifParser();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy