mapstruct-idea
mapstruct-idea copied to clipboard
multiple line expression syntax check is broken
when write expression in multiple lines, syntax check works unexpected. eg:
@Mapping(target = "totalAmount", expression = "java(a.getDetailList().stream()" +
".map(ADetail::getAmount).reduce(BigDecimal.ZERO, BigDecimal::add))")
B a2b(A a);