package sfBugs;

import edu.umd.cs.findbugs.annotations.CheckForNull;

public class Bug1828288 {

	 @CheckForNull
	 private Object field = null;

	 public void init() {
	   field = new Object();
	 }
	 @CheckForNull
	 public Object nullx() {
		 return null;
	 }

	 @Override
	 public String toString() {
	   return field.toString(); // (*)
	 }
	
	 
	 public String toString2() {
	   return nullx().toString(); // (*)
	 }


}

@@ -114,151 +114,27 @@
 %0A%09 p
-rivate Object field = null;%0A%0A%09 public void init() %7B%0A%09   field = new Object();%0A%09 %7D%0A%09 @CheckForNull%0A%09 public Object nullx() %7B%0A%09%09 return null;%0A%09 %7D
+ublic Object field;
 %0A%0A%09 
@@ -216,85 +216,7 @@
 %09 %7D%0A
-%09%0A%09 %0A%09 public String toString2() %7B%0A%09   return nullx().toString(); // (*)%0A%09 %7D%0A%0A
 %0A%7D%0A

simplify test case