#2167 Add missing @since 1.4 to new interfaces, classes and methods

This commit is contained in:
Filip Hrisafov 2020-08-01 11:43:46 +02:00
parent 2e2c20fed7
commit 609824037b
9 changed files with 18 additions and 0 deletions

View File

@ -83,6 +83,8 @@ public @interface MapperConfig {
* their simple name rather than their fully-qualified name.
*
* @return classes to add in the imports of the generated implementation.
*
* @since 1.4
*/
Class<?>[] imports() default { };

View File

@ -87,6 +87,8 @@ import java.lang.annotation.Target;
* </code></pre>
*
* @author Sjaak Derksen
*
* @since 1.4
*/
@Retention(RetentionPolicy.CLASS)
@Repeatable(MappingControls.class)

View File

@ -14,6 +14,8 @@ import java.lang.annotation.Target;
* Allows multiple {@link MappingControl} on a class declaration.
*
* @author Sjaak Derksen
*
* @since 1.4
*/
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.ANNOTATION_TYPE)

View File

@ -11,6 +11,8 @@ import javax.lang.model.util.Types;
/**
* @author Filip Hrisafov
*
* @since 1.4
*/
public class DefaultEnumNamingStrategy implements EnumNamingStrategy {

View File

@ -13,6 +13,8 @@ import org.mapstruct.util.Experimental;
* A service provider interface for the mapping between different enum constants
*
* @author Arne Seime
*
* @since 1.4
*/
@Experimental("This SPI can have it's signature changed in subsequent releases")
public interface EnumNamingStrategy {

View File

@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
/**
* @author Filip Hrisafov
*
* @since 1.4
*/
public class PrefixEnumTransformationStrategy implements EnumTransformationStrategy {

View File

@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
/**
* @author Filip Hrisafov
*
* @since 1.4
*/
public class StripPrefixEnumTransformationStrategy implements EnumTransformationStrategy {

View File

@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
/**
* @author Filip Hrisafov
*
* @since 1.4
*/
public class StripSuffixEnumTransformationStrategy implements EnumTransformationStrategy {

View File

@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
/**
* @author Filip Hrisafov
*
* @since 1.4
*/
public class SuffixEnumTransformationStrategy implements EnumTransformationStrategy {