code: @Deprecated
      public FilePath getModuleRoot() {
          AbstractBuild b = getBuildForDeprecatedMethods();
          return b != null ? b.getModuleRoot() : null;
      }
docs: Returns the root directory of the checked-out module.
  <p>
  This is usually where {@code pom.xml}, {@code build.xml}
  and so on exists.
  
  @deprecated as of 1.319
  See {@link #getWorkspace()} for a migration strategy.