withGeneration
@Contract(value = "_ -> new", pure = true)
Creates new item metadata with the given generation.
Return
new item metadata
Parameters
generation
the new generation
Creates new item metadata with the given generation.
new item metadata
the new generation