public byte @Nullable [] getResourceAsBytes(@NotNull String name, boolean checkParents) throws IOException {
    Resource resource = classPath.findResource(name);
    return resource == null ? null : resource.getBytes();
  }
public byte @Nullable [] getResourceAsBytes(@NotNull String name, boolean checkParents)