mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
The site's lombok v. vanilla java examples included lombok annotations on the vanilla java side. Fabrizio Guidici found this one.
This commit is contained in:
1 parent
68b079d312
commit
aa1a0e7ac8
2 files changed
-4
No files matched your search
@@ -1,5 +1,3 @@
|
||||
@RequiredArgsConstructor(staticName = "of")
|
||||
@AllArgsConstructor(access = AccessLevel.PROTECTED)
|
||||
public class ConstructorExample<T> {
|
||||
private int x, y;
|
||||
@NonNull private T description;
|
||||
|
||||
@@ -8,7 +8,6 @@ public class DelegationExample {
|
||||
boolean remove(Object item);
|
||||
}
|
||||
|
||||
@Delegate(types=SimpleCollection.class)
|
||||
private final Collection<String> collection = new ArrayList<String>();
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@@ -30,7 +29,6 @@ class ExcludesDelegateExample {
|
||||
boolean addAll(Collection<? extends String> x);
|
||||
}
|
||||
|
||||
@Delegate(excludes=Add.class)
|
||||
private final Collection<String> collection = new ArrayList<String>();
|
||||
|
||||
public boolean add(String item) {
|
||||
|
||||
Reference in new issue
Block a user