private static boolean isStringBuilderUpdated(@NotNull PsiVariable variable, @Nullable PsiExpression firstQualifiedInitializer,
                                                  @NotNull PsiElement context, @NotNull BuilderType type) {
      if ((firstQualifiedInitializer != null &&
           !(ConstructionUtils.isEmptyStringBuilderInitializer(firstQualifiedInitializer) ||
           isOnlyDelimiterStringJoinerInitializer(firstQualifiedInitializer)))) {
        return true;
      }
      if (firstQualifiedInitializer != variable.getInitializer() && isChainUpdated(variable.getInitializer(), type)) {
        return true;
      }
      final StringBuilderUpdateCalledVisitor visitor = new StringBuilderUpdateCalledVisitor(variable, type);
      context.accept(visitor);
      return visitor.isUpdated();
    }
private static boolean isStringBuilderUpdated(@NotNull PsiVariable variable, @Nullable PsiExpression firstQualifiedInitializer,
                                                  @NotNull PsiElement context, @NotNull BuilderType type)