make method static: add parameter when method was used in method reference (IDEA-93138)

This commit is contained in:
anna
2012-10-18 13:45:04 +02:00
parent 77d23ad47b
commit 9598ba568c
5 changed files with 64 additions and 15 deletions
@@ -0,0 +1,9 @@
class Test4 {
void test() {
Foo2<Test4> f = Test4::yyy;
}
static void yyy(Test4 anObject) {}
}
interface Foo2<T> {
void bar(T j);
}