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:
Reinier Zwitserloot committed 2011-07-14 14:44:25 +02:00
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) {