io.kroxylicious.proxy.config.model.DelegatingVisitor Maven / Gradle / Ivy
package io.kroxylicious.proxy.config.model;
import java.util.Map.Entry;
import java.lang.Class;
import java.lang.Object;
import java.util.List;
import java.lang.String;
import java.util.function.Predicate;
public class DelegatingVisitor implements Visitor{
DelegatingVisitor(Class type,Visitor delegate) {
this.type = type;
this.delegate = delegate;
}
private final Class type;
private final Visitor delegate;
public Class getType() {
return type;
}
public void visit(T target) {
delegate.visit(target);
}
public int order() {
return delegate.order();
}
public void visit(List> path,T target) {
delegate.visit(path, target);
}
public Predicate>> getRequirement() {
return delegate.getRequirement();
}
}