aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/a/pkg/A.java
blob: 32fa2a9b08fd4ffed903f535b81374bf86daa74d (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
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 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> {}
}