mapstruct-idea icon indicating copy to clipboard operation
mapstruct-idea copied to clipboard

An IntelliJ IDEA plugin for working with MapStruct

Results 72 mapstruct-idea issues
Sort by recently updated
recently updated
newest added

MapStruct Support: v1.1.1 MapStruct 1.3.0.Final Lombok: 1.8.8 Java: openjdk version "11.0.2" 2019-01-15 Gradle: 5.4.1 We use MapStruct to map Java objects and Avro objects. In one object there is one...

We have some internal messages which extend a BaseClass. This `BaseClass` contains some variables for our database. These variables should be present in our DTOs. To avoid ignoring the variables...

enhancement

When applying the add unmapped target property quick fix the cursor should be within the source element

enhancement

The eclipse plugin has a quick fix for the error "Can't map property X prop to Y prop. Consider to declare/implement a mapping method ...". I still am not sure...

It would be great if the plugin could highlight incorrect mappings with an error directly in the editor. An inspection would be a good way to implement that I think....

Apparently the intellij scala plugin has a feature called worksheet that is able to compile and read user code. This could be the approach for using the user defined `AccessorNamingStrategy`...

When I generate my Mapping with Mapstruct, the Mapstruct Plugin reports unmapped proeprties, although the implementation has them mapped. this seems to have to to do with inheritance, since the...

I started creating a `@Mapping`, entered the `target`, switched around between typing `constant` and `expression`, and now the IDE tells me that the expression ``` @Mapping(target = "compPlanType", expression =...

Error ``` java.lang.IncompatibleClassChangeError at java.base/jdk.internal.reflect.GeneratedConstructorAccessor759.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:564) at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:591) at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:689) at com.intellij.concurrency.JobLauncherImpl.procInOrderAsync(JobLauncherImpl.java:548) at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$12(InspectionRunner.java:183) at com.intellij.codeInspection.InspectionEngine.withSession(InspectionEngine.java:248) at com.intellij.codeInsight.daemon.impl.InspectionRunner.inspect(InspectionRunner.java:142) at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:144) at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:80)...

Goal is to add a new inspection that reports non-existing target properties ![image](https://github.com/mapstruct/mapstruct-idea/assets/110094118/a2340e34-01bf-46f2-9d4d-11fe6d5fe9e4)