package p; class A{ public Object foo(String text) { if (((Object)null).toString() == null) { return (Object)null; } return null; } }