mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 08:15:20 +00:00
[old-cruft] Removed old lombok.Delegate (it's in experimental now) and lombok.experimental.Wither (it's in main now).
This commit is contained in:
14 files changed
+23
-178
No files matched your search
@@ -43,7 +43,7 @@ import java.util.List;
|
||||
}
|
||||
}
|
||||
private final int basic;
|
||||
private @lombok.Getter @lombok.Setter @lombok.experimental.Wither int getsetwith;
|
||||
private @lombok.Getter @lombok.Setter @lombok.With int getsetwith;
|
||||
private final int predef;
|
||||
private final int predefWithJavadoc;
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import lombok.Delegate;
|
||||
import lombok.experimental.Delegate;
|
||||
import lombok.Getter;
|
||||
class DelegateOnGetter {
|
||||
private interface Bar {
|
||||
|
||||
@@ -42,7 +42,7 @@ public abstract @lombok.SuperBuilder class SuperBuilderJavadoc {
|
||||
}
|
||||
}
|
||||
private final int basic;
|
||||
private @lombok.Getter @lombok.Setter @lombok.experimental.Wither int getsetwith;
|
||||
private @lombok.Getter @lombok.Setter @lombok.With int getsetwith;
|
||||
private final int predef;
|
||||
private final int predefWithJavadoc;
|
||||
protected @java.lang.SuppressWarnings("all") @lombok.Generated SuperBuilderJavadoc(final SuperBuilderJavadoc.SuperBuilderJavadocBuilder<?, ?> b) {
|
||||
|
||||
@@ -14,7 +14,7 @@ import java.util.regex.Pattern;
|
||||
return this.pattern;
|
||||
}
|
||||
}
|
||||
@lombok.Getter @lombok.experimental.Wither @lombok.AllArgsConstructor class Tolerate2 {
|
||||
@lombok.Getter @lombok.With @lombok.AllArgsConstructor class Tolerate2 {
|
||||
private final Pattern pattern;
|
||||
public @lombok.experimental.Tolerate Tolerate2 withPattern(String pattern) {
|
||||
return withPattern(Pattern.compile(pattern));
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import lombok.AccessLevel;
|
||||
class WitherAccessLevel {
|
||||
@lombok.experimental.Wither(lombok.AccessLevel.NONE) boolean isNone;
|
||||
@lombok.experimental.Wither(AccessLevel.PRIVATE) boolean isPrivate;
|
||||
@lombok.experimental.Wither(lombok.AccessLevel.PACKAGE) boolean isPackage;
|
||||
@lombok.experimental.Wither(AccessLevel.PROTECTED) boolean isProtected;
|
||||
@lombok.experimental.Wither(lombok.AccessLevel.PUBLIC) boolean isPublic;
|
||||
@lombok.experimental.Wither(value = lombok.AccessLevel.PUBLIC) boolean value;
|
||||
@lombok.With(lombok.AccessLevel.NONE) boolean isNone;
|
||||
@lombok.With(AccessLevel.PRIVATE) boolean isPrivate;
|
||||
@lombok.With(lombok.AccessLevel.PACKAGE) boolean isPackage;
|
||||
@lombok.With(AccessLevel.PROTECTED) boolean isProtected;
|
||||
@lombok.With(lombok.AccessLevel.PUBLIC) boolean isPublic;
|
||||
@lombok.With(value = lombok.AccessLevel.PUBLIC) boolean value;
|
||||
WitherAccessLevel(boolean isNone, boolean isPrivate, boolean isPackage, boolean isProtected, boolean isPublic, boolean value) {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class BuilderJavadoc<T> {
|
||||
*/
|
||||
@lombok.Getter
|
||||
@lombok.Setter
|
||||
@lombok.experimental.Wither
|
||||
@lombok.With
|
||||
private int getsetwith;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//platform !eclipse: Requires a 'full' eclipse with intialized workspace, and we don't (yet) have that set up properly in the test run.
|
||||
import lombok.Delegate;
|
||||
import lombok.experimental.Delegate;
|
||||
import lombok.Getter;
|
||||
|
||||
class DelegateOnGetter {
|
||||
|
||||
@@ -17,7 +17,7 @@ public abstract class SuperBuilderJavadoc {
|
||||
*/
|
||||
@lombok.Getter
|
||||
@lombok.Setter
|
||||
@lombok.experimental.Wither
|
||||
@lombok.With
|
||||
private int getsetwith;
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ class Tolerate {
|
||||
}
|
||||
}
|
||||
|
||||
@lombok.Getter @lombok.experimental.Wither @lombok.AllArgsConstructor
|
||||
@lombok.Getter @lombok.With @lombok.AllArgsConstructor
|
||||
class Tolerate2 {
|
||||
private final Pattern pattern;
|
||||
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
import lombok.AccessLevel;
|
||||
|
||||
class WitherAccessLevel {
|
||||
@lombok.experimental.Wither(lombok.AccessLevel.NONE)
|
||||
@lombok.With(lombok.AccessLevel.NONE)
|
||||
boolean isNone;
|
||||
|
||||
@lombok.experimental.Wither(AccessLevel.PRIVATE)
|
||||
@lombok.With(AccessLevel.PRIVATE)
|
||||
boolean isPrivate;
|
||||
|
||||
@lombok.experimental.Wither(lombok.AccessLevel.PACKAGE)
|
||||
@lombok.With(lombok.AccessLevel.PACKAGE)
|
||||
boolean isPackage;
|
||||
|
||||
@lombok.experimental.Wither(AccessLevel.PROTECTED)
|
||||
@lombok.With(AccessLevel.PROTECTED)
|
||||
boolean isProtected;
|
||||
|
||||
@lombok.experimental.Wither(lombok.AccessLevel.PUBLIC)
|
||||
@lombok.With(lombok.AccessLevel.PUBLIC)
|
||||
boolean isPublic;
|
||||
|
||||
@lombok.experimental.Wither(value=lombok.AccessLevel.PUBLIC)
|
||||
@lombok.With(value=lombok.AccessLevel.PUBLIC)
|
||||
boolean value;
|
||||
|
||||
WitherAccessLevel(boolean isNone, boolean isPrivate, boolean isPackage, boolean isProtected, boolean isPublic, boolean value) {
|
||||
|
||||
Reference in new issue
Block a user