search for functional interface implementations by lambdas and method references: change signature/find usages; to be continued (IDEA-104286; IDEA-90824)

This commit is contained in:
Anna Kozlova
2014-04-07 16:56:08 +02:00
parent 737a7d5a7a
commit ec1d4927bd
23 changed files with 677 additions and 195 deletions

View File

@@ -0,0 +1,11 @@
interface SAM {
void <caret>foo();
}
class Test {
{
bar(() -> {});
}
void bar(SAM sam){}
}

View File

@@ -0,0 +1,9 @@
interface SAM {
void <caret>foo();
}
class Test {
{
SAM sam = () -> {};
}
}

View File

@@ -0,0 +1,11 @@
interface SA<caret>M {
void foo();
}
class Test {
{
bar(() -> {});
}
void bar(SAM sam){}
}