code: boolean isShaded(String subPath) {
      for (String shadedPath : shadedPaths)
        if (subPath.startsWith(shadedPath))
          return true;
      return false;
    }
docs: Determines whether the {@code subPath} is shaded.