code: public static List<String> getTokens(String path) {
          if (path == null) {
              throw MESSAGES.nullArgument("path");
          }
          List<String> list = new ArrayList<String>();
          getTokens(list, path);
          return list;
      }
docs: Get the tokens that comprise this path.
  
  @param path the path
  @return the tokens or null if the path is empty
  @throws IllegalArgumentException if the path is null