We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code snipped is flagged by IntelliJ:
@Mapping(target = "field", expression = "java(EnumClass1.ENUM_VALUE_1 == dto.getEnumValue1()" + " ? someValidCode()" + " : otherValidCode())")
IntelliJ sees the end of the expression line as dto.getEnumValue1()" and believes that the java(...) wrapper is missing its closing parethesis.
expression
dto.getEnumValue1()"
java(...)
Perhaps support for Java Text Blocks should be considered as well. See mapstruct/mapstruct#2837.
The text was updated successfully, but these errors were encountered:
support Multi-line Java expression (mapstruct#82 mapstruct#98)
4323d05
No branches or pull requests
This code snipped is flagged by IntelliJ:
IntelliJ sees the end of the
expression
line asdto.getEnumValue1()"
and believes that thejava(...)
wrapper is missing its closing parethesis.Perhaps support for Java Text Blocks should be considered as well. See mapstruct/mapstruct#2837.
The text was updated successfully, but these errors were encountered: