@Deprecated
    public FilePath[] getModuleRoots() {
        AbstractBuild b = getBuildForDeprecatedMethods();
        return b != null ? b.getModuleRoots() : null;
    }
@ Deprecated public FilePath [ ] getModuleRoots ( ) { AbstractBuild b = getBuildForDeprecatedMethods ( ) ; return b != null ? b . getModuleRoots ( ) : null ; }
Returns the root directories of all checked-out modules.
<p>
Some SCMs support checking out multiple modules into the same workspace.
In these cases, the returned array will have a length greater than one.
@return The roots of all modules checked out from the SCM.

@deprecated as of 1.319
See {@link #getWorkspace()} for a migration strategy.