mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-86209 Groovy: Introduce Filed/Constant from 'null'
This commit is contained in:
@@ -63,6 +63,9 @@ public class GrTypeComboBox extends ComboBox {
|
||||
return new GrTypeComboBox(type, expected, expected == null, expression.getManager(), expression.getResolveScope(), selectDef);
|
||||
}
|
||||
else {
|
||||
if (type == PsiType.NULL) {
|
||||
type = PsiType.getJavaLangObject(expression.getManager(), expression.getResolveScope());
|
||||
}
|
||||
return new GrTypeComboBox(type, null, true, null, null, selectDef);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user