Repository navigation
Conversation
…xamples in Javadoc Align the remaining Java code examples in the published Javadoc (core annotations, `Mappers`, the `DefaultBuilderProvider` SPI and the processor classes `SourceReference`, `TargetReference` and `LifecycleOverloadDeduplicateSelector`) with the `<pre><code class='java'>` form that is already used by most of the annotations, so that IDEs like IntelliJ render them as Java code. In `ValueMapping` the code examples are separated from their mapping results: the result tables are moved into their own `<pre>` blocks, the error message of the last example is moved out of the code block, and the invalid trailing commas after the repeated `@ValueMapping` annotations are removed. Blocks that do not contain Java code (grammar and pseudo-notation in `MethodMatcher` and `Type`) are intentionally left as plain `<pre>`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3588
Changes
<pre><code class='java'>for the remaining Java code examples in the Javadoc: the core annotations,Mappers, theDefaultBuilderProviderSPI and the processor classesSourceReference,TargetReferenceandLifecycleOverloadDeduplicateSelector.ValueMapping, put the code examples and the result tables in separate blocks, and remove the invalid trailing commas after the@ValueMappingannotations.