code: public void credentialsMigration(T overrider, Class overriderClass) {
          try {
              deployerMigration(overrider, overriderClass);
              resolverMigration(overrider, overriderClass);
          } catch (NoSuchFieldException | IllegalAccessException | IOException e) {
              converterErrors.add(getConversionErrorMessage(overrider, e));
          }
      }
docs: Migrate to Jenkins "Credentials" plugin from the old credential implementation