modBuilder.addStatement("return $1L -> $1L.$2L($3L)", adtArg, adt.matchMethod().element().getSimpleName(),
lambdas).build()))))
.oneConstructor(constructor -> DerivedCodeSpec.methodSpecs(Arrays.asList(setMethod.build(),
modBuilder.addStatement("return $1L -> $1L.$2L($3L)", adtArg, adt.matchMethod().element().getSimpleName(), lambdas)
.build())))
<BUG>.noConstructor(DerivedCodeSpec::none)

.apply(adt.dataConstruction());</BUG>
}
private static List<TypeVariable> getUniqueTypeVariables(DataArgument field, List<DataArgument> allFields,

modBuilder.addStatement("return $1L -> $1L.$2L($3L)", adtArg, adt.matchMethod().element().getSimpleName(),
lambdas).build()))))
.oneConstructor(constructor -> DerivedCodeSpec.methodSpecs(Arrays.asList(setMethod.build(),
modBuilder.addStatement("return $1L -> $1L.$2L($3L)", adtArg, adt.matchMethod().element().getSimpleName(), lambdas)
.build())))
.noConstructor(DerivedCodeSpec::none);
}
private static List<TypeVariable> getUniqueTypeVariables(DataArgument field, List<DataArgument> allFields,
