1 package test2; 2 3 public class InsertAt { 4 public int counter = 0; 5 foo()6 public int foo() { 7 for (int i = 0; i < 3; i++) 8 counter++; 9 10 return counter; 11 } 12 bar()13 public int bar() { 14 return bar2(7); 15 } 16 bar2(int k)17 public int bar2(int k) { 18 int i = 1; 19 int j = i + 3; 20 k += i + j; 21 return k; 22 } 23 } 24