File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,12 +49,15 @@ builds, but if something looks off you can try a full rebuild with `mvn clean co
4949
5050One of the advantages of annotation processing is that the generated code is produced as regular
5151source files, that you can read and debug like the rest of your application. With the above
52- configuration, these files are in ` target/generated-sources/annotations ` . They follow the same
53- package structure as your annotated types. Most end in a special ` __MapperGenerated ` suffix, in
54- order to clearly identify them in stack traces (one exception is the mapper builder, because it is
55- referenced directly from your code).
52+ configuration, these files are in ` target/generated-sources/annotations ` . Make sure that
53+ directory is marked as a source folder in your IDE (for example, in IntelliJ IDEA, this might
54+ require right-clicking on your ` pom.xml ` and selecting "Maven > Reimport").
5655
57- Do not edit the generated files directly: your changes would be overwritten during the next full
56+ Generated sources follow the same package structure as your annotated types. Most end in a special
57+ ` __MapperGenerated ` suffix, in order to clearly identify them in stack traces (one exception is the
58+ mapper builder, because it is referenced directly from your code).
59+
60+ Do not edit those files files directly: your changes would be overwritten during the next full
5861rebuild.
5962
6063### Gradle
You can’t perform that action at this time.
0 commit comments