You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BridgeMethod.java 487B

12345678910111213141516171819
  1. package testproxy;
  2. interface BridgeMethodInf {
  3. public Long getId();
  4. public void setId(Long id);
  5. public Number m1();
  6. }
  7. abstract class BridgeMethodSuper<T> {
  8. public abstract T id(T t);
  9. }
  10. public class BridgeMethod extends BridgeMethodSuper<String> implements BridgeMethodInf {
  11. private Long id;
  12. public Long getId() { return id; }
  13. public void setId(Long id) { this.id = id; }
  14. public Integer m1() { return 7; }
  15. public String id(String s) { return s; }
  16. }