code: public static ArgumentListExpression createArgumentListFromParameters(Parameter[] parameterTypes, boolean thisAsFirstArgument, Map<String, ClassNode> genericsPlaceholders) {
          ArgumentListExpression arguments = new ArgumentListExpression();
  
          if (thisAsFirstArgument) {
              arguments.addExpression(new VariableExpression("this"));
          }
  
          for (Parameter parameterType : parameterTypes) {
              arguments.addExpression(new VariableExpression(parameterType.getName(), replaceGenericsPlaceholders(parameterType.getType(), genericsPlaceholders)));
          }
          return arguments;
      }
docs: Creates an argument list from the given parameter types.
  
  @param parameterTypes The parameter types
  @param thisAsFirstArgument Whether to include a reference to 'this' as the first argument
  @param genericsPlaceholders
  
  @return the arguments