code: static String[] split(String className) {
      String[] result = new String[2];
      int startPos = className.lastIndexOf('.');
      if (startPos == -1) {
        result[1] = className;
        return result;
      }
      result[0] = className.substring(0, startPos);
      result[1] = className.substring(startPos + 1);
      return result;
    }
docs: Split into package and class name.