Solutionunvalidated

you can do this by changing your `@Named` method expecting the entire input source — @Mapping(target = "sum", source = ".", qualifiedByName = "sumThree"). Tension: in the `@Mapping` annotation are yor providing the entire source element by `.`. Outcome: return src.a() + src.b() + src.c();.

33cea1a0-af8d-4752-a578-60f7be03bd5a

you can do this by changing your @Named method expecting the entire input source — @Mapping(target = "sum", source = ".", qualifiedByName = "sumThree"). Tension: in the @Mapping annotation are yor providing the entire source element by .. Outcome: return src.a() + src.b() + src.c();.