aboutsummaryrefslogtreecommitdiff
path: root/src/testB/java/b/pkg/B.java
blob: 67d2ea84e6562793c5021df157253c756d07d020 (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 b.pkg;

public class B extends BParent implements BInterface {
    private B b;
    private int bField;

    public B() {
    }

    public B(B arg) {
    }

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

    public void bMethod() {
        bInterfaceMethod();
    }

    public B getB() {
        return this;
    }

    public B getSyntheticB() {
        return this;
    }

    public void setSyntheticB(B arg) {
    }

    public boolean isSyntheticBooleanB() {
        return false;
    }

    public void setSyntheticBooleanB(boolean arg) {
    }

    public B getNonSyntheticB() {
        return this;
    }

    public void setNonSyntheticB(B arg) {
    }

    public boolean isNonSyntheticBooleanB() {
        return false;
    }

    public void setNonSyntheticBooleanB(boolean arg) {
    }

    public B getterB() {
        return this;
    }

    public void setterB(B arg) {
    }

    public boolean getterBooleanB() {
        return false;
    }

    public void setterBooleanB(boolean arg) {
    }

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

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

    public void bOverloaded() {
    }

    public void bOverloaded(int arg) {
    }

    public void bOverloaded(boolean arg) {
    }

    public void commonOverloaded(Object arg) {
    }

    public void commonOverloaded(B arg) {
    }

    public void unmappedOverloaded(Object arg) {
    }

    public void unmappedOverloaded(B arg) {
    }

    @Override
    public void bInterfaceMethod() {
        new B() {};
    }

    public class Inner {
        private int bField;
    }

    public class InnerB {
    }

    public class GenericB<T> {}
}