mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
return Object if denotable type is needed for functional expression (e.g. lambda expression) type
EA-75552 - IOE: PsiElementFactoryImpl.createField
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// "Create property" "true"
|
||||
class Calculator {
|
||||
private Object i;
|
||||
|
||||
{
|
||||
setI(() -> {});
|
||||
}
|
||||
|
||||
public void setI(Object i) {
|
||||
this.i = i;
|
||||
}
|
||||
|
||||
public Object getI() {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create property" "true"
|
||||
class Calculator {
|
||||
{
|
||||
set<caret>I(() -> {});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user