missing `throws` clauses when mapping enum with checked exceptions
Expected behavior
When using
@ValueMapping(target = THROW_EXCEPTION, source = NULL) @EnumMapping(unexpectedValueMappingException = CheckedException.class) EnumOut map(EnumIn enumIn) throws CheckedException;
I expect the generated method to contain throws CheckedException;
Actual behavior
The generated method does not contain throws CheckedException;
Steps to reproduce the problem
I created a minimal case here: https://github.com/ldicarlo/mapstruct-checked-exceptions
MapStruct Version
1.5.3.Final