public static @NotNull String getPackageName(final @NotNull String raw) {
    final int index = raw.lastIndexOf('/');

    if (index == -1) {
      return "";
    }

    return raw.substring(0, index);
  }
public static @NotNull String getPackageName(final @NotNull String raw)