PsiExpression (@Nullable PsiExpressionList argList) { if (argList == null) return null; final PsiExpression[] args = argList.getExpressions(); if (args.length != 1) return null; final PsiExpression arg = args[0]; final PsiType argType = arg.getType(); if (argType == null || !argType.equals(PsiTypes.intType())) return null; final Integer value = ObjectUtils.tryCast(CommonDataflow.computeValue(arg), Integer.class); return value != null && value.intValue() == 0 ? arg : null; }