@Override
    protected void init() {
        blockModelService = tool.getService(BlockModelService.class);
        blockModelService.addListener(this);
        updateSubroutineActions();
    }
Applies the "module" algorithm to a Folder or Fragment. This algorithm first
applies the Multiple Entry Point Subroutine model, which generates fragments;
then the Partitioned Code Subroutine model is applied to the fragments.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/algorithmtree/ModuleAlgorithmPlugin.java