PsiType (PsiCallExpression methodCall) { ExpectedTypeInfo expectedType = ExpectedTypesProvider.getSingleExpectedTypeForCompletion(methodCall); return expectedType == null ? (PsiPrimitiveType)PsiTypes.nullType() : expectedType.getType(); }