code: @Override
      public ResolvedType transformTypeParameters(ResolvedTypeTransformer transformer) {
          ResolvedType result = this;
          int i = 0;
          for (ResolvedType tp : this.typeParametersValues()) {
              ResolvedType transformedTp = transformer.transform(tp);
              // Identity comparison on purpose
              if (transformedTp != tp) {
                  List<ResolvedType> typeParametersCorrected = result.asReferenceType().typeParametersValues();
                  typeParametersCorrected.set(i, transformedTp);
                  result = create(typeDeclaration, typeParametersCorrected);
              }
              i++;
          }
          return result;
      }
docs: Execute a transformation on all the type parameters of this element.