java-sealed-type-parameters-implements-permits « t4018 « t - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
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;
}