class Test { { foo("abc"); } void foo(final String anObject) { System.out.println(anObject); } }