code: public static TreePath getPath(CompilationUnitTree unit, Tree target) {
          return getPath(new TreePath(unit), target);
      }
docs: Returns a tree path for a tree node within a compilation unit,
  or {@code null} if the node is not found.
  @param unit the compilation unit to search
  @param target the node to locate
  @return the tree path