1 2 3 4 5 6 7 8 9 10 11
class Type { } class bat { public static final Type SOURCE = new Type(); } public class DefiniteStatic { protected static final Type SINK = bat.SOURCE; public Type sink = SINK; // incorrect CE: field SINK might not have a value public static void main(String[] args) { } }