package javax.lang.model.util;

import javax.annotation.processing.SupportedSourceVersion;
import javax.lang.model.SourceVersion;
import javax.lang.model.type.IntersectionType;
import static javax.lang.model.SourceVersion.*;

@SupportedSourceVersion(RELEASE_8)
public class SimpleTypeVisitor8<R, P> extends SimpleTypeVisitor7<R, P> {
    @SuppressWarnings("deprecation") // Superclass constructor deprecated
    protected SimpleTypeVisitor8(){
        super(null);
    }

    @SuppressWarnings("deprecation") // Superclass constructor deprecated
    protected SimpleTypeVisitor8(R defaultValue){
        super(defaultValue);
    }

    @Override
    public R visitIntersection(IntersectionType t, P p){
        return defaultAction(t, p);
    }
}
