aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/testproxy/BridgeMethod.java
blob: de199bf0aff4ca34d81a5e141f0cb75704d7463b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package testproxy;

interface BridgeMethodInf {
    public Long getId();
    public void setId(Long id);
    public Number m1();
}

abstract class BridgeMethodSuper<T> {
    public abstract T id(T t);
}

public class BridgeMethod extends BridgeMethodSuper<String> implements BridgeMethodInf {
    private Long id;
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Integer m1() { return 7; }
    public String id(String s) { return s; }
}