mapstruct allows whitespaces before and after the java( ) block. Currently the plugin does not support this.
I changed the JavaExpressionInjector to allow whitespaces before and after the java( ) block. In addition I added an inspection to check if there are unnecessary whitespaces. If one or more is found before or after the java( ) block, I added two quick fixes to remove allwhitespaces before or after the java( ) block.
@thunderhook thanks for the feedback. I change the names like you suggested. In addition the properties file is now used to provide the warning message instead of defining it directly inside the java code.
mapstruct allows whitespaces before and after the
java( )
block. Currently the plugin does not support this. I changed theJavaExpressionInjector
to allow whitespaces before and after thejava( )
block. In addition I added an inspection to check if there are unnecessary whitespaces. If one or more is found before or after thejava( )
block, I added two quick fixes to remove allwhitespaces before or after thejava( )
block.