import static p.A.*; import p.A; public class C { public boolean foo() { return REDDISH == A.GREEN.REDDISH; } }