private Computation tryDeserializeEmpty(SerializedList value, ObjectToSetupCode generator) {
String factoryMethod = "emptyList";
TypeManager types = generator.getTypes();
types.staticImport(Collections.class, factoryMethod);
Type resultType = parameterized(List.class, null, value.getComponentType());
<BUG>String resultList = generator.localVariable(value, resultType);
String decoratingStatement = assignLocalVariableStatement(types.getBestName(resultType), resultList, callLocalMethod(factoryMethod));

generator.finishVariable(value);
return new Computation(resultList, value.getResultType(), asList(decoratingStatement));

}</BUG>
private Computation tryDeserializeSingleton(SerializedList value, ObjectToSetupCode generator) {

private Computation tryDeserializeEmpty(SerializedList value, ObjectToSetupCode generator) {
String factoryMethod = "emptyList";
TypeManager types = generator.getTypes();
types.staticImport(Collections.class, factoryMethod);
Type resultType = parameterized(List.class, null, value.getComponentType());
return generator.forVariable(value, resultType, local -> {
String decoratingStatement = assignLocalVariableStatement(types.getBestName(resultType), local.getName(), callLocalMethod(factoryMethod));
return new Computation(local.getName(), value.getResultType(), asList(decoratingStatement));
});
}
private Computation tryDeserializeSingleton(SerializedList value, ObjectToSetupCode generator) {
