mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
EA-70589 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
class Test<T> {
|
||||
|
||||
|
||||
class Bar {
|
||||
void f( ){
|
||||
Function<Test<T>.Bar, String> r = Bar::foo;
|
||||
}
|
||||
|
||||
private String foo() {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
class Test<T> {
|
||||
|
||||
|
||||
class Bar {
|
||||
void f( ){
|
||||
Function<Test<T>.Bar, String> r = (Test<T>.Bar t) -> t.fo<caret>o();
|
||||
}
|
||||
|
||||
private String foo() {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user