docs: static String getParentPackageName(final String packageOrClassName) {
          if (packageOrClassName.isEmpty()) {
              return null;
          }
          final int lastDotIdx = packageOrClassName.lastIndexOf('.');
          return lastDotIdx < 0 ? "" : packageOrClassName.substring(0, lastDotIdx);
      }