Skip to content

Commit 9a43b21

Browse files
committed
Add since tag to new API elements
1 parent a3ba57c commit 9a43b21

9 files changed

Lines changed: 19 additions & 0 deletions

File tree

core/src/main/java/org/mapstruct/BeanMapping.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
* {@link Mapper#nullValuePropertyMappingStrategy()} will be applied,
7070
* {@link NullValuePropertyMappingStrategy#SET_TO_NULL} will be used by default.
7171
*
72+
* @since 1.3
73+
*
7274
* @return The strategy to be applied when {@code null} is passed as source property value or the source property
7375
* is not present.
7476
*/

core/src/main/java/org/mapstruct/Mapper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@
153153
* configured, the strategy given via {@link MapperConfig#nullValuePropertyMappingStrategy()} will be applied,
154154
* {@link NullValuePropertyMappingStrategy#SET_TO_NULL} will be used by default.
155155
*
156+
* @since 1.3
157+
*
156158
* @return The strategy to be applied when {@code null} is passed as source property value or the source property
157159
* is not present.
158160
*/

core/src/main/java/org/mapstruct/MapperConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@
136136
* The strategy to be applied when a source bean property is {@code null} or not present. If no strategy is
137137
* configured, {@link NullValuePropertyMappingStrategy#SET_TO_NULL} will be used by default.
138138
*
139+
* @since 1.3
140+
*
139141
* @return The strategy to be applied when {@code null} is passed as source property value or the source property
140142
* is not present.
141143
*/

core/src/main/java/org/mapstruct/Mapping.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@
264264
*
265265
* Can be overridden by the one on {@link MapperConfig}, {@link Mapper} or {@link BeanMapping}.
266266
*
267+
* @since 1.3
268+
*
267269
* @return strategy how to do null checking
268270
*/
269271
NullValueCheckStrategy nullValueCheckStrategy() default ON_IMPLICIT_CONVERSION;
@@ -276,6 +278,8 @@
276278
*
277279
* {@link NullValuePropertyMappingStrategy#SET_TO_NULL} will be used by default.
278280
*
281+
* @since 1.3
282+
*
279283
* @return The strategy to be applied when {@code null} is passed as source property value or the source property
280284
* is not present.
281285
*/

core/src/main/java/org/mapstruct/NullValuePropertyMappingStrategy.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* {@code @}{@link MappingTarget}).
1717
*
1818
* @author Sjaak Derksen
19+
* @since 1.3
1920
*/
2021
public enum NullValuePropertyMappingStrategy {
2122

processor/src/main/java/org/mapstruct/ap/spi/AccessorNamingStrategy.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public interface AccessorNamingStrategy {
1919
* Initializes the accessor naming strategy with the MapStruct processing environment.
2020
*
2121
* @param processingEnvironment environment for facilities
22+
*
23+
* @since 1.3
2224
*/
2325
default void init(MapStructProcessingEnvironment processingEnvironment) {
2426

processor/src/main/java/org/mapstruct/ap/spi/BuilderInfo.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* Holder for the builder information.
1313
*
1414
* @author Filip Hrisafov
15+
*
16+
* @since 1.3
1517
*/
1618
public class BuilderInfo {
1719

processor/src/main/java/org/mapstruct/ap/spi/BuilderProvider.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* A service provider interface that is used to detect types that require a builder for mapping. This interface could
1212
* support automatic detection of builders for projects like Lombok, Immutables, AutoValue, etc.
1313
* @author Filip Hrisafov
14+
*
15+
* @since 1.3
1416
*/
1517
public interface BuilderProvider {
1618

processor/src/main/java/org/mapstruct/ap/spi/MapStructProcessingEnvironment.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*
1616
* @author Filip Hrisafov
1717
* @see javax.annotation.processing.ProcessingEnvironment
18+
*
19+
* @since 1.3
1820
*/
1921
public interface MapStructProcessingEnvironment {
2022

0 commit comments

Comments
 (0)