code: public static Resource create(@NotNull ResourceResolver resourceResolver, @Nullable String path, @NotNull String resourceType,
        @NotNull ValueMap valueMap) {
      return new GraniteUiSyntheticResource(resourceResolver,
          path,
          resourceType,
          valueMap,
          ImmutableList.<Resource>of());
    }
docs: Create synthetic resource.
  @param resourceResolver Resource resolver
  @param path Resource path
  @param resourceType Resource type
  @param valueMap Properties
  @return Resource