LocalQuickFix (Object... infos) { final PsiMethodCallExpression methodCallExpression = (PsiMethodCallExpression)infos[0]; if (ExpressionUtils.isVoidContext(methodCallExpression)) { return null; } return new InstantiatingObjectToGetClassObjectFix(); }