io.datakernel.common.inspector.ForwardingInspector Maven / Gradle / Ivy
package io.datakernel.common.inspector;
public abstract class ForwardingInspector> implements BaseInspector {
protected final I next;
protected ForwardingInspector(I next) {this.next = next;}
@SuppressWarnings("unchecked")
@Override
public T lookup(Class type) {
return type.isAssignableFrom(this.getClass()) ? (T) this : next.lookup(type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy