diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-12-08 21:06:07 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2014-12-08 21:06:07 +0100 |
commit | ff2ae3b22cce5009d440a66d19376c5f90a5244d (patch) | |
tree | b43dc18aad8eca62d2a08b76da10fefbd7824c8b /src/core/lombok/experimental | |
parent | 2e78a2e03f8fdba4d3d468b2900d30f7e7317641 (diff) | |
download | lombok-ff2ae3b22cce5009d440a66d19376c5f90a5244d.tar.gz lombok-ff2ae3b22cce5009d440a66d19376c5f90a5244d.tar.bz2 lombok-ff2ae3b22cce5009d440a66d19376c5f90a5244d.zip |
moved builder to core package (deprecated old one, created new one, added alias).
Diffstat (limited to 'src/core/lombok/experimental')
-rw-r--r-- | src/core/lombok/experimental/Builder.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/lombok/experimental/Builder.java b/src/core/lombok/experimental/Builder.java index 1300e7d3..7d89109f 100644 --- a/src/core/lombok/experimental/Builder.java +++ b/src/core/lombok/experimental/Builder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 The Project Lombok Authors. + * Copyright (C) 2013-2014 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -103,9 +103,12 @@ import java.lang.annotation.Target; * } * } * </pre> + * + * @deprecated {@link lombok.Builder} has been promoted to the main package, so use that one instead. */ @Target({TYPE, METHOD, CONSTRUCTOR}) @Retention(SOURCE) +@Deprecated public @interface Builder { /** Name of the static method that creates a new builder instance. Default: {@code builder}. */ String builderMethodName() default "builder"; |