static int getPackageNameHash(@NotNull String resourcePath) {
    int index = resourcePath.lastIndexOf('/');
    int h = 0;
    for (int off = 0; off < index; off++) {
      h = 31 * h + resourcePath.charAt(off);
    }
    return h;
  }
static int getPackageNameHash(@NotNull String resourcePath)