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

io.codemodder.RawFileCodemodRunner Maven / Gradle / Ivy

There is a newer version: 0.99.0
Show newest version
package io.codemodder;

import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
import java.util.Objects;

/**
 * {@inheritDoc}
 *
 * 

This type specializes in non-Java file. */ final class RawFileCodemodRunner implements CodemodRunner { private final RawFileChanger changer; RawFileCodemodRunner(final RawFileChanger changer) { this.changer = Objects.requireNonNull(changer); } @Override public boolean supports(final Path path) { return true; } @Override public List run(final CodemodInvocationContext context) throws IOException { return changer.visitFile(context); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy