LocalQuickFix (Object... infos) { final PsiExpression expression = (PsiExpression)infos[0]; final boolean removeToString = ((Boolean)infos[1]).booleanValue(); final PsiArrayType type = (PsiArrayType)expression.getType(); if (type != null) { final PsiType componentType = type.getComponentType(); if (componentType instanceof PsiArrayType) { return new ImplicitArrayToStringFix(true, removeToString); } } return new ImplicitArrayToStringFix(false, removeToString); }