method duplicates: correctly process qualifiers (IDEA-79954)

This commit is contained in:
anna
2012-01-16 17:12:19 +01:00
parent 194385c953
commit a71612a457
4 changed files with 46 additions and 2 deletions
@@ -0,0 +1,20 @@
class Utilz {
static int func(){
return 1;
}
static int foo1(){
return 2*Utilz.func();
}
static int fo<caret>o2(){
return 2*func();
}
}
class Something {
Something(){
int x = 2*Utilz.func();
}
}
@@ -0,0 +1,20 @@
class Utilz {
static int func(){
return 1;
}
static int foo1(){
return foo2();
}
static int foo2(){
return 2*func();
}
}
class Something {
Something(){
int x = Utilz.foo2();
}
}