2004-11-11 | Paul Boddie | raw annotate files changeset graph | Modified invokespecial to hopefully find the appropriate methods to use in each invocation case. Added SLICE+1. |
1 public class DispatchTest { 2 public int a; 3 public float b; 4 5 public DispatchTest() { 6 this.a = 1; 7 this.b = 2; 8 } 9 10 public DispatchTest(int a) { 11 this.a = a; 12 this.b = 2; 13 } 14 15 public DispatchTest(float b) { 16 this.a = 1; 17 this.b = b; 18 } 19 20 public DispatchTest(int a, float b) { 21 this.a = a; 22 this.b = b; 23 } 24 25 public void set(int a) { 26 this.a = a; 27 } 28 29 public void set(float b) { 30 this.b = b; 31 } 32 }