@Override
  public @NotNull String getText() throws IOException {
    InputStream inputStream = LocalizationUtil.INSTANCE.getResourceAsStream(myLoader, Path.of(myResourcePath));
    if (inputStream != null) {
      try (inputStream) {
        return ResourceUtil.loadText(inputStream); //NON-NLS
      }
      catch (IOException e) {
        LOG.error("Cannot find localized resource: " + myResourcePath, e);
      }
    }
    InputStream stream = myLoader.getResourceAsStream(myResourcePath);
    if (stream == null) {
      throw new IOException("Resource not found: " + myResourcePath + "; loader: " + myLoader);
    }
    return ResourceUtil.loadText(stream); //NON-NLS
  }
@Override
  public @NotNull String getText()