boolean (@NotNull UCallExpression expression) { if (isAwtColorConstructor(expression) && isJBColorClassAccessible(holder) && !isUsedAsJBColorConstructorParameter(expression)) { PsiElement sourcePsi = expression.getSourcePsi(); if (sourcePsi != null) { LocalQuickFix[] fixes = sourcePsi.getLanguage().is(JavaLanguage.INSTANCE) ? new LocalQuickFix[]{new ConvertToJBColorQuickFix()} : LocalQuickFix.EMPTY_ARRAY; holder.registerProblem(sourcePsi, DevKitBundle.message("inspections.awt.color.used"), fixes); } } return super.visitCallExpression(expression); }