private void processOld(JavaParameterInfo info, List<Child> result) {
      int oldIndex = info.getOldIndex();
      Child child = getChild(oldIndex);
      if (child == null) {
        return;
      }
      result.add(child);
      String oldName = myOldParameterNames[oldIndex];
      if (!oldName.equals(info.getName()) && oldName.equals(child.getName())) {
        PsiIdentifier newIdentifier = myFactory.createIdentifier(info.getName());
        Objects.requireNonNull(child.getNameIdentifier()).replace(newIdentifier);
      }
      PsiTypeElement typeElement = child.getTypeElement();
      if (typeElement != null) {
        child.normalizeDeclaration();
        typeElement = child.getTypeElement();
        String oldType = myOldParameterTypes[oldIndex];
        if (!oldType.equals(info.getTypeText())) {
          PsiType newType = info.createType(myChangeInfo.getMethod().getParameterList(), myChangeInfo.getMethod().getManager());
          ensureNullabilityAnnotationsDoNotRepeat(typeElement, newType);
          PsiSubstitutor mySubstitutor = getSubstitutor();
          if (mySubstitutor != null) {
            newType = mySubstitutor.substitute(newType);
          }
          if (newType != null) {
            typeElement.replace(myFactory.createTypeElement(newType));
          }
        }
      }
    }
private void processOld(JavaParameterInfo info, List<Child> result)