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


public class ArrayToString {
	
	private static final String[] gargs = new String[] {"1", "2"};
	
	public static void main(String[] args) {
		ArrayToString a = new ArrayToString();
		a.print0(args);
		a.print1();
		a.print2();
		a.print3();
	}
	
	@DesireWarning("DMI")
	public void print0(String args[]) {
		System.out.println(args.toString());
	}

	@DesireWarning("DMI")
	public void print1() {
		String [] args2 = new String[] {"Hello", "there"};
		System.out.println(args2.toString());
	}

	@DesireWarning("DMI")
	public void print2() {
		System.out.println((new String[] {"one","two"}).toString());		
	}

	@DesireWarning("DMI")
	public void print3() {
		System.out.println(gargs.toString());
	}
}

@@ -303,35 +303,46 @@
 @DesireWarning(%22
-DMI
+USELESS_STRING
 %22)%0A%09public void 
@@ -417,35 +417,46 @@
 @DesireWarning(%22
-DMI
+USELESS_STRING
 %22)%0A%09public void 
@@ -575,32 +575,69 @@
 sireWarning(%22DMI
+_INVOKING_TOSTRING_ON_ANONYMOUS_ARRAY
 %22)%0A%09public void 
@@ -712,24 +712,24 @@
 g());%09%09%0A%09%7D%0A%0A
-
 %09@DesireWarn
@@ -736,16 +736,43 @@
 ing(%22DMI
+_INVOKING_TOSTRING_ON_ARRAY
 %22)%0A%09publ

fix @ExpectedWarning declarations