mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#2167 Add missing @since 1.4 to new interfaces, classes and methods
This commit is contained in:
parent
2e2c20fed7
commit
609824037b
@ -83,6 +83,8 @@ public @interface MapperConfig {
|
|||||||
* their simple name rather than their fully-qualified name.
|
* their simple name rather than their fully-qualified name.
|
||||||
*
|
*
|
||||||
* @return classes to add in the imports of the generated implementation.
|
* @return classes to add in the imports of the generated implementation.
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
Class<?>[] imports() default { };
|
Class<?>[] imports() default { };
|
||||||
|
|
||||||
|
@ -87,6 +87,8 @@ import java.lang.annotation.Target;
|
|||||||
* </code></pre>
|
* </code></pre>
|
||||||
*
|
*
|
||||||
* @author Sjaak Derksen
|
* @author Sjaak Derksen
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.CLASS)
|
@Retention(RetentionPolicy.CLASS)
|
||||||
@Repeatable(MappingControls.class)
|
@Repeatable(MappingControls.class)
|
||||||
|
@ -14,6 +14,8 @@ import java.lang.annotation.Target;
|
|||||||
* Allows multiple {@link MappingControl} on a class declaration.
|
* Allows multiple {@link MappingControl} on a class declaration.
|
||||||
*
|
*
|
||||||
* @author Sjaak Derksen
|
* @author Sjaak Derksen
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.CLASS)
|
@Retention(RetentionPolicy.CLASS)
|
||||||
@Target(ElementType.ANNOTATION_TYPE)
|
@Target(ElementType.ANNOTATION_TYPE)
|
||||||
|
@ -11,6 +11,8 @@ import javax.lang.model.util.Types;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Filip Hrisafov
|
* @author Filip Hrisafov
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
public class DefaultEnumNamingStrategy implements EnumNamingStrategy {
|
public class DefaultEnumNamingStrategy implements EnumNamingStrategy {
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@ import org.mapstruct.util.Experimental;
|
|||||||
* A service provider interface for the mapping between different enum constants
|
* A service provider interface for the mapping between different enum constants
|
||||||
*
|
*
|
||||||
* @author Arne Seime
|
* @author Arne Seime
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
@Experimental("This SPI can have it's signature changed in subsequent releases")
|
@Experimental("This SPI can have it's signature changed in subsequent releases")
|
||||||
public interface EnumNamingStrategy {
|
public interface EnumNamingStrategy {
|
||||||
|
@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Filip Hrisafov
|
* @author Filip Hrisafov
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
public class PrefixEnumTransformationStrategy implements EnumTransformationStrategy {
|
public class PrefixEnumTransformationStrategy implements EnumTransformationStrategy {
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Filip Hrisafov
|
* @author Filip Hrisafov
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
public class StripPrefixEnumTransformationStrategy implements EnumTransformationStrategy {
|
public class StripPrefixEnumTransformationStrategy implements EnumTransformationStrategy {
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Filip Hrisafov
|
* @author Filip Hrisafov
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
public class StripSuffixEnumTransformationStrategy implements EnumTransformationStrategy {
|
public class StripSuffixEnumTransformationStrategy implements EnumTransformationStrategy {
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@ package org.mapstruct.ap.spi;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Filip Hrisafov
|
* @author Filip Hrisafov
|
||||||
|
*
|
||||||
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
public class SuffixEnumTransformationStrategy implements EnumTransformationStrategy {
|
public class SuffixEnumTransformationStrategy implements EnumTransformationStrategy {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user