def METHOD_NAME(self, **kw):
    argv = []
    for k, v in kw.items():
        if v is not None:
            argv.append(f'{k} = {v}')
    argv += warpx.attrlist()
    argv += my_constants.attrlist()
    argv += amr.attrlist()
    argv += amrex.attrlist()
    argv += geometry.attrlist()
    argv += hybridpicmodel.attrlist()
    argv += boundary.attrlist()
    argv += algo.attrlist()
    argv += interpolation.attrlist()
    argv += psatd.attrlist()
    argv += eb2.attrlist()
    # --- Search through species_names and add any predefined particle objects in the list.
    particles_list_names = [p.instancename for p in particles_list]
    for pstring in particles.species_names:
        if pstring in particles_list_names:
            # --- The species is already included in particles_list
            continue
        elif hasattr(Particles, pstring):
            # --- Add the predefined species to particles_list
            particles_list.append(getattr(Particles, pstring))
            particles_list_names.append(pstring)
        else:
            raise Exception('Species %s listed in species_names not defined'%pstring)
    argv += particles.attrlist()
    for particle in particles_list:
        argv += particle.attrlist()
    argv += collisions.attrlist()
    for collision in collisions_list:
        argv += collision.attrlist()
    argv += lasers.attrlist()
    for laser in lasers_list:
        argv += laser.attrlist()
    diagnostics.diags_names = diagnostics._diagnostics_dict.keys()
    argv += diagnostics.attrlist()
    for diagnostic in diagnostics._diagnostics_dict.values():
        diagnostic.species = diagnostic._species_dict.keys()
        argv += diagnostic.attrlist()
        for species_diagnostic in diagnostic._species_dict.values():
            argv += species_diagnostic.attrlist()
    reduced_diagnostics.reduced_diags_names = reduced_diagnostics._diagnostics_dict.keys()
    argv += reduced_diagnostics.attrlist()
    for diagnostic in reduced_diagnostics._diagnostics_dict.values():
        argv += diagnostic.attrlist()
    return argv