public class Test{ static int a = 0; public int foo(){ return new Test().<ref>a; } }