aboutsummaryrefslogtreecommitdiff
path: root/src/testA/java/a/pkg/A.java
blob: 1a0dcac9d5d04197517eb34a514553b87527a715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package a.pkg;

public class A extends AParent implements AInterface {
    private A a;
    private int aField;

    public A() {
    }

    public A(A arg) {
    }

    public static A create() { return new A(); }

    public void aMethod() {
        aInterfaceMethod();
    }

    public A getA() {
        return this;
    }

    public A getSyntheticA() {
        return this;
    }

    public void setSyntheticA(A arg) {
    }

    public boolean isSyntheticBooleanA() {
        return false;
    }

    public void setSyntheticBooleanA(boolean arg) {
    }

    public A getNonSyntheticA() {
        return this;
    }

    public void setNonSyntheticA(A arg) {
    }

    public boolean isNonSyntheticBooleanA() {
        return false;
    }

    public void setNonSyntheticBooleanA(boolean arg) {
    }

    public A getterA() {
        return this;
    }

    public void setterA(A arg) {
    }

    public boolean getterBooleanA() {
        return false;
    }

    public void setterBooleanA(boolean arg) {
    }

    public int conflictingField;
    public int getConflictingFieldWithoutConflict() {
        return conflictingField;
    }

    protected int protectedField;
    public int getProtectedFieldWithoutConflict() {
        return protectedField;
    }

    public void aOverloaded() {
    }

    public void aOverloaded(int arg) {
    }

    public void aOverloaded(boolean arg) {
    }

    public void commonOverloaded(Object arg) {
    }

    public void commonOverloaded(A arg) {
    }

    public void unmappedOverloaded(Object arg) {
    }

    public void unmappedOverloaded(A arg) {
    }

    @Override
    public void aInterfaceMethod() {
        new A() {};
    }

    public class Inner {
        private int aField;
    }

    public class InnerA {
    }

    public class GenericA<T> {}
}