boolean (@NotNull UCallExpression expression) { if (isAwtRgbColorConstructor(expression)) { Integer grayValue = getGrayValue(expression); if (grayValue != null) { PsiElement sourcePsi = expression.getSourcePsi(); if (sourcePsi != null && DevKitInspectionUtil.isClassAvailable(holder, GRAY_CLASS_NAME)) { holder.registerProblem(sourcePsi, DevKitBundle.message("inspections.use.gray.awt.color.used.name"), new ConvertToGrayQuickFix(grayValue)); } } } return super.visitCallExpression(expression); }