File tree Expand file tree Collapse file tree
processor/src/main/java/org/mapstruct/ap/spi Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88import javax .lang .model .element .ExecutableElement ;
99
10+ import org .mapstruct .util .Experimental ;
11+
1012/**
1113 * Accessor naming strategy for FreeBuilder.
1214 * FreeBuilder adds a lot of other methods that can be considered as fluent setters. Such as:
2426 *
2527 * @author Filip Hrisafov
2628 */
29+ @ Experimental ("The FreeBuilder accessor naming strategy might change in a subsequent release" )
2730public class FreeBuilderAccessorNamingStrategy extends DefaultAccessorNamingStrategy {
2831
2932 @ Override
Original file line number Diff line number Diff line change 77
88import javax .lang .model .element .ExecutableElement ;
99
10+ import org .mapstruct .util .Experimental ;
11+
1012/**
1113 * Accesor naming strategy for Immutables.
1214 * The generated Immutables also have a from that works as a copy. Our default strategy considers this method
1315 * as a setter with a name {@code from}. Therefore we are ignoring it.
1416 *
1517 * @author Filip Hrisafov
1618 */
19+ @ Experimental ("The Immutables accessor naming strategy might change in a subsequent release" )
1720public class ImmutablesAccessorNamingStrategy extends DefaultAccessorNamingStrategy {
1821
1922 @ Override
Original file line number Diff line number Diff line change 1313import javax .lang .model .element .PackageElement ;
1414import javax .lang .model .element .TypeElement ;
1515
16+ import org .mapstruct .util .Experimental ;
17+
1618/**
1719 * Builder provider for Immutables. A custom provider is needed because Immutables creates an implementation of an
1820 * interface and that implementation has the builder. This implementation would try to find the type created by
2123 *
2224 * @author Filip Hrisafov
2325 */
26+ @ Experimental ("The Immutables builder provider might change in a subsequent release" )
2427public class ImmutablesBuilderProvider extends DefaultBuilderProvider {
2528
2629 private static final Pattern JAVA_JAVAX_PACKAGE = Pattern .compile ( "^javax?\\ ..*" );
You can’t perform that action at this time.
0 commit comments