don't walk cached super methods more than once (red field.getName() problem)

make raw method substitutor apply only to this method
This commit is contained in:
peter
2011-03-29 13:17:04 +02:00
parent 290502e387
commit 1743362364
3 changed files with 156 additions and 125 deletions
@@ -0,0 +1,20 @@
interface N1 {
String getName();
}
interface N2 {
String getName();
}
interface NN extends N1 {}
interface N3 {
String getName();
}
interface VeryNamed extends NN, N2, N3, N1 {}
class MyClass {
void foo(VeryNamed f) {
f.getNa<ref>me();
}
}