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