class Test { void test() { int x = 42; System.out.println(x); } int getX(){ return 0; } int getAnInt(){ return 0; } }