import java.io.File; class Test { public void foo(final File anObject) { bar(anObject); } void bar(java.io.File f){} }