code: public MethodDeclarationBuilder param(Type type, String name) {
      return new MethodDeclarationBuilder(
              builder,
              classIdentifier,
              memberFlags,
              returnType,
              methodName,
              methodHandler,
              parameters.append(new Parameter(type, name, parameters.size())));
    }
docs: declares a parameter
  @param type the type of the parameter
  @param name the name of the parameter
  @return this