xref: /aosp_15_r20/external/javassist/src/test/testproxy/Target2.java (revision f1fbf3c2ab775ce834e0af96b7a85bdc7a0eac65)
1*f1fbf3c2SXin Li package testproxy;
2*f1fbf3c2SXin Li 
3*f1fbf3c2SXin Li import java.io.IOException;
4*f1fbf3c2SXin Li 
5*f1fbf3c2SXin Li @SuppressWarnings("unused")
6*f1fbf3c2SXin Li public class Target2 {
7*f1fbf3c2SXin Li     private int value;
Target2(int i)8*f1fbf3c2SXin Li     public Target2(int i) { value = 1; }
Target2(int i, int j)9*f1fbf3c2SXin Li     protected Target2(int i, int j) { value = 2; }
Target2(int i, double j)10*f1fbf3c2SXin Li     private Target2(int i, double j) { value = 3; }
Target2(int i, long k)11*f1fbf3c2SXin Li     Target2(int i, long k) { value = 4; }
12*f1fbf3c2SXin Li 
get()13*f1fbf3c2SXin Li     public int get() { return value; }
foo()14*f1fbf3c2SXin Li     public int foo() throws IOException { return ++value; }
_dfoo()15*f1fbf3c2SXin Li     public int _dfoo() { value += 2; return value; }
_d100()16*f1fbf3c2SXin Li     private int _d100() { value += 3; return value; }
_d1003foo()17*f1fbf3c2SXin Li     private int _d1003foo() { value += 3; return value; }
18*f1fbf3c2SXin Li }
19