mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
Fixed issue #1342: builder now marks generated stuff as deprecated if appropriate.
This commit is contained in:
1 parent
ae54fa51ac
commit
164beb36be
18 files changed
+347
-82
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import lombok.Builder;
|
||||
import lombok.Singular;
|
||||
|
||||
@Builder
|
||||
public class BuilderWithDeprecated {
|
||||
/** @deprecated */ String dep1;
|
||||
@Deprecated int dep2;
|
||||
@Singular @Deprecated java.util.List<String> strings;
|
||||
@Singular @Deprecated ImmutableList<Integer> numbers;
|
||||
}
|
||||
Reference in new issue
Block a user