boolean (@NotNull UCallExpression call) { List<UExpression> callParams = call.getValueArguments(); if (callParams.size() != 3) return false; PsiMethod constructor = call.resolve(); if (constructor == null || !constructor.isConstructor()) return false; PsiClass constructorClass = constructor.getContainingClass(); if (constructorClass == null) return false; return AWT_COLOR_CLASS_NAME.equals(constructorClass.getQualifiedName()); }