How to find the first declaring method for a reference method
- by Oliver Gierke
Suppose you have a generic interface and an implementation:
public interface MyInterface<T> {
void foo(T param);
}
public class MyImplementation<T> implements MyInterface<T> {
void foo(T param) {
}
}
These two types are frework types. In the next step I want allow users to extend that interface as well as redeclare…