com.iwillfailyou.plugin.PublicInspection 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 final class PublicInspection implements Inspection {
private final Urls urls;
private final Inspection origin;
public PublicInspection(
final Urls urls,
final Inspection origin
) {
this.urls = urls;
this.origin = origin;
}
@Override
public String name() {
return origin.name();
}
@Override
public void accept(final File file) throws IwfyException {
origin.accept(file);
}
@Override
public Failures failures() {
return new PublicFailures(urls, origin.failures(), this);
}
}