mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 10:15:19 +00:00
[tests] This seemingly humongous commit is actually nothing: All test-cases now have @Generated annotations where before they did not.
This commit is contained in:
292 files changed
+2545
-432
No files matched your search
@@ -1,15 +1,13 @@
|
||||
//version 8:
|
||||
import lombok.NonNull;
|
||||
|
||||
public class ConstructorsInAnonymousClass {
|
||||
Object annonymous = new Object() {
|
||||
|
||||
class Inner {
|
||||
private String string;
|
||||
@NonNull
|
||||
private String string2;
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public Inner(final String string, @NonNull final String string2) {
|
||||
if (string2 == null) {
|
||||
throw new java.lang.NullPointerException("string2 is marked non-null but is null");
|
||||
@@ -17,16 +15,16 @@ public class ConstructorsInAnonymousClass {
|
||||
this.string = string;
|
||||
this.string2 = string2;
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public Inner(@NonNull final String string2) {
|
||||
if (string2 == null) {
|
||||
throw new java.lang.NullPointerException("string2 is marked non-null but is null");
|
||||
}
|
||||
this.string2 = string2;
|
||||
}
|
||||
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public Inner() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user