mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Fixing some general javadoc issues.
This commit is contained in:
parent
e15b873b9a
commit
d59873d923
@ -38,7 +38,6 @@ import java.lang.annotation.Target;
|
||||
* <p>
|
||||
* <b>NOTE:</b> The decorator feature when used with component model {@code jsr330} is considered <em>experimental</em>
|
||||
* and it may change in future releases.
|
||||
* <p>
|
||||
* <h2>Examples</h2>
|
||||
* <p>
|
||||
* For the examples below, consider the following mapper declaration:
|
||||
|
@ -99,15 +99,13 @@ public @interface Mapping {
|
||||
* An expression {@link String} based on which the specified target property is to be set.
|
||||
* <p>
|
||||
* Currently, Java is the only supported "expression language" and expressions must be given in form of Java
|
||||
* expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping
|
||||
* <p>
|
||||
*
|
||||
* <pre>
|
||||
* {@code @Mapping(
|
||||
* expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping:
|
||||
* <pre><code>
|
||||
* @Mapping(
|
||||
* target = "someProp",
|
||||
* expression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))"
|
||||
* )}
|
||||
* </pre>
|
||||
* )
|
||||
* </code></pre>
|
||||
* <p>
|
||||
* will cause the following target property assignment to be generated:
|
||||
* <p>
|
||||
|
@ -97,15 +97,13 @@ public @interface Mapping {
|
||||
* An expression {@link String} based on which the specified target property is to be set.
|
||||
* <p>
|
||||
* Currently, Java is the only supported "expression language" and expressions must be given in form of Java
|
||||
* expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping
|
||||
* <p>
|
||||
*
|
||||
* <pre>
|
||||
* {@code @Mapping(
|
||||
* expressions using the following format: {@code java(<EXPRESSION>)}. For instance the mapping:
|
||||
* <pre><code>
|
||||
* @Mapping(
|
||||
* target = "someProp",
|
||||
* expression = "java(new TimeAndFormat( s.getTime(), s.getFormat() ))"
|
||||
* )}
|
||||
* </pre>
|
||||
* )
|
||||
* </code></pre>
|
||||
* <p>
|
||||
* will cause the following target property assignment to be generated:
|
||||
* <p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user