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:
Anna Kozlova
2015-11-02 15:29:42 +01:00
parent 58914b5ee0
commit 41916174b6
5 changed files with 31 additions and 2 deletions
@@ -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;
}
}
@@ -0,0 +1,6 @@
// "Create property" "true"
class Calculator {
{
set<caret>I(() -> {});
}
}