[With] renaming lombok.experimental.Wither to lombok.experimental.With

This commit is contained in:
Reinier Zwitserloot committed 2019-08-27 00:15:47 +02:00
1 parent 7bf70ed638
commit c11edbf032
88 files changed
+912 -807

No files matched your search

@@ -0,0 +1,23 @@
class WithMethodMarkedDeprecated {
@Deprecated
int annotation;
/**
* @deprecated
*/
int javadoc;
WithMethodMarkedDeprecated(int annotation, int javadoc) {
}
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
public WithMethodMarkedDeprecated withAnnotation(final int annotation) {
return this.annotation == annotation ? this : new WithMethodMarkedDeprecated(annotation, this.javadoc);
}
/**
* @deprecated
*/
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
public WithMethodMarkedDeprecated withJavadoc(final int javadoc) {
return this.javadoc == javadoc ? this : new WithMethodMarkedDeprecated(this.annotation, javadoc);
}
}