com.iwillfailyou.plugin.Inspection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-plugin Show documentation
Show all versions of java-plugin Show documentation
Iwillfailyou java plugin library
The newest version!
package com.iwillfailyou.plugin;
import java.io.File;
public interface Inspection {
String name();
void accept(File file) throws IwfyException;
Failures failures();
final class Fake implements Inspection {
@Override
public String name() {
return "fake";
}
@Override
public void accept(final File file) {
// ignored
}
@Override
public Failures failures() {
return new Failures.Fake();
}
}
}