package sfBugs;

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

public class Bug3056289 {
	private static Bug3056289 instance;

	@NoWarning("UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
	public Bug3056289() {
		if (instance != null) {
			throw new IllegalStateException("I'm a singleton!");
		}
		System.out.println(instance);
		instance = this; // ST_WRITE_TO_STATIC_FROM_INSTANCE is reported here!
	}
}

@@ -178,16 +178,49 @@
 STRUCTOR
+,ST_WRITE_TO_STATIC_FROM_INSTANCE
 %22)%0A%09publ
@@ -327,40 +327,8 @@
 %09%09%7D%0A
-%09%09System.out.println(instance);%0A
 %09%09in

spell out unacceptable warnings