1 import java.io.PrintStream; 2 3 public class CastInsert { 4 5 PrintStream out; 6 private int c = 12 + 13; 7 private String str = "this" + "is".concat("string"); 8 m()9 void m() { 10 int i; 11 } 12 m(String y, String[] z, int i)13 int m(String y, String[] z, int i) { 14 String x = new String(); 15 String s; 16 s = x + x; 17 s = y; 18 s = z[0]; 19 s = x; 20 int j = 0; 21 switch (i + 2) { 22 case 1: 23 j = i + 1; 24 System.out.println(1); 25 break; 26 case 2: 27 j = i + 2; 28 System.out.println(2); 29 break; 30 default: 31 j = i + 3; 32 System.out.println(-1); 33 } 34 j *= i; 35 j = s != x ? j : i; 36 do { 37 int h = i & j; 38 } while (i < j); 39 for (int i2 : new int[5]) { 40 j = i2; 41 } 42 for (int a = 0, b = 0; a < j; a = a + 1, b++) 43 a = b; 44 if (i < j) 45 i = j; 46 else 47 j = i; 48 boolean b = x instanceof String; 49 label: b = false; 50 Object o = this.out; 51 m(y, z, i); 52 int[][] test = new int[4][5]; 53 int[][] test2 = {{1, 2}, {1, 2, 3}}; 54 new String("test"); 55 if (i < 1) 56 return 18; 57 synchronized (o) { 58 i = i + i; 59 } 60 if (j < 1) 61 throw new IllegalStateException(); 62 try { 63 int t = 1; 64 } catch (Error e) { 65 i = j; 66 } catch (RuntimeException e) { 67 j = i; 68 } finally { 69 j = i + j; 70 } 71 j = (int) (i + j); 72 j = -j; 73 while (i < j) 74 i = i + 1; 75 this.out.println(); 76 System.out.println(); 77 Object obj = null; 78 return 0; 79 } 80 m2(Object o)81 void m2 (Object o) { 82 o = o; 83 o = o; 84 o = o; 85 o = o; 86 o = o; 87 o = o; 88 } 89 } 90