You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ConvergenceVarsDispatcher.m
    path of file: ./repos/Swan/Topology Optimization/Monitoring/ParamsMonitor
    
    the code of the file until where you have to start completion: classdef ConvergenceVarsDispatcher < handle
    
    methods (Access = public, Static)
        
        function names = dispatchNames(cParams)
            switch cParams.type
                case 'DualNestedInPrimal'
            
    
function names = dispatchNames(cParams)
            switch cParams.type
                case 'DualNestedInPrimal'
                    names = {'\Deltacost';'Norm L2';'Line Search';'Line Search trials'};
                case 'MMA'
                    names = {'kktnorm';'outit'};
                case {'NullSpace','AlternatingPrimalDual','IPM'}
                    names = {'\Deltacost';'Norm L2';'Line Search';'Line Search trials';'Merit function'};
                case 'IPOPT'
                    names = {'inf_{pr}','inf_{du}','Norm L2'};
                case 'fmincon'
                    switch cParams.alg
                        case 'sqp'
                            names = {'Norm L2','First order optimal condition','Step length'};
                        case 'interior-point'
                            names = {'Norm L2','First order optimal condition','Trust region radius'};
                        otherwise
                    end