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: AddJavaClassPathInfoDynamics.m
    path of file: ./repos/hctsa/PeripheryFunctions
    
    the code of the file until where you have to start completion: function AddJavaClassPathInfoDynamics()
    % Adds the path required for the infodynamics toolkit

    
function AddJavaClassPathInfoDynamics()
    % Adds the path required for the infodynamics toolkit
    % Required for the parallel workers, which don't always inherit the proper
    % javaclasspath

    computeDir = which('TS_Compute');
    splits = regexp(computeDir,filesep);
    hctsaDir = computeDir(1:splits(end