code: public static String adjustToAbsoluteDirectoryContext(String path) {
          // Return nulls
          if (path == null) {
              return path;
          }
  
          // Add prefic slash
          final String prefixedPath = optionallyPrependSlash(path);
          // Add end of context slash
          final String addedPostfix = optionallyAppendSlash(prefixedPath);
  
          // Return
          return addedPostfix;
      }
docs: Adjusts the specified path to absolute form:
  
  1) Adds, if not present, a preceding slash 2) Adds, if not present, a trailing slash
  
  Null arguments are returned as-is
  
  @param path