code: static void tokenRefresh(Context context){
          if (instances == null) {
              CleverTapAPI instance = CleverTapAPI.getDefaultInstance(context);
              if(instance != null) {
                  instance.onTokenRefresh();
              }
              return;
          }
          for (String accountId: CleverTapAPI.instances.keySet()) {
              CleverTapAPI instance = CleverTapAPI.instances.get(accountId);
              if (instance.getConfig().isAnalyticsOnly()) {
                  Logger.d(accountId, "Instance is Analytics Only not processing device token");
                  continue;
              }
              instance.onTokenRefresh();
          }
      }
docs: Push