git/t/t4018/java-sealed-type-parameters-implements-permits

public abstract sealed class RIGHT<A, B> implements List<A> permits PermittedA, PermittedB {
    static int ONE;
    static int TWO;
    static int THREE;
    private int ChangeMe;
}