Package net.fabricmc.loom.util.fmj.gen
Class GeneratorUtils
java.lang.Object
net.fabricmc.loom.util.fmj.gen.GeneratorUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> voidadd(com.google.gson.JsonObject json, String key, org.gradle.api.provider.ListProperty<V> property, Function<List<V>, com.google.gson.JsonElement> converter) static voidadd(com.google.gson.JsonObject json, String key, org.gradle.api.provider.MapProperty<String, String> property) static <K,V> void add(com.google.gson.JsonObject json, String key, org.gradle.api.provider.MapProperty<K, V> property, Function<Map<K, V>, com.google.gson.JsonElement> converter) static voidstatic <V,P extends org.gradle.api.provider.Property<V>>
voidadd(com.google.gson.JsonObject json, String key, P property, Function<V, com.google.gson.JsonElement> converter) static <V> voidaddArray(com.google.gson.JsonObject json, String key, org.gradle.api.provider.ListProperty<V> property, Function<V, com.google.gson.JsonElement> converter) static voidaddRequired(com.google.gson.JsonObject json, String key, org.gradle.api.provider.Property<String> property) static <V,P extends org.gradle.api.provider.Property<V>>
voidaddRequired(com.google.gson.JsonObject json, String key, P property, Function<V, com.google.gson.JsonElement> converter) static <V> voidaddSingleOrArray(com.google.gson.JsonObject json, String key, org.gradle.api.provider.ListProperty<V> property, Function<V, com.google.gson.JsonElement> converter) static voidaddStringOrArray(com.google.gson.JsonObject json, String key, org.gradle.api.provider.ListProperty<String> property) static <V> com.google.gson.JsonElementstatic com.google.gson.JsonObjectstatic <V> com.google.gson.JsonElementsingleOrArray(List<V> entries, Function<V, com.google.gson.JsonElement> converter) static com.google.gson.JsonElementstringOrArray(List<String> strings)
-
Method Details
-
add
-
addRequired
-
addStringOrArray
-
addSingleOrArray
-
addArray
-
add
-
addRequired
-
add
-
add
-
add
-
stringOrArray
-
singleOrArray
-
array
-
map
-