EA-58413 - assert: RenameJavaMethodProcessor.findHidingMethodWithOtherSignature

collision check: rename method to existing name with method references
This commit is contained in:
Anna Kozlova
2014-07-23 20:57:29 +02:00
parent 5580d3d8e8
commit 01e119b579
4 changed files with 32 additions and 4 deletions
@@ -0,0 +1,9 @@
class Test {
static void f<caret>oo() {}
static void foo2(int i) {}
{
Runnable r = Test :: foo;
}
}
@@ -0,0 +1,9 @@
class Test {
static void foo2() {}
static void foo2(int i) {}
{
Runnable r = Test ::foo2;
}
}