mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
[i623] added eclipse code for generating @javax.annotation.Generated, and refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases.
This commit is contained in:
1 parent
7efbecfe49
commit
a7bd812893
193 files changed
+1199
-613
No files matched your search
@@ -4,7 +4,7 @@
|
||||
GetterOnClass1() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isPublic() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isPublic() {
|
||||
return this.isPublic;
|
||||
}
|
||||
}
|
||||
@@ -15,10 +15,10 @@
|
||||
GetterOnClass2() {
|
||||
super();
|
||||
}
|
||||
@java.lang.SuppressWarnings("all") boolean isPackage() {
|
||||
@java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isPackage() {
|
||||
return this.isPackage;
|
||||
}
|
||||
protected @java.lang.SuppressWarnings("all") boolean isProtected() {
|
||||
protected @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isProtected() {
|
||||
return this.isProtected;
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@
|
||||
GetterOnClass3() {
|
||||
super();
|
||||
}
|
||||
@java.lang.SuppressWarnings("all") boolean isPackage() {
|
||||
@java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isPackage() {
|
||||
return this.isPackage;
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@
|
||||
GetterOnClass4() {
|
||||
super();
|
||||
}
|
||||
private @java.lang.SuppressWarnings("all") boolean isPrivate() {
|
||||
private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isPrivate() {
|
||||
return this.isPrivate;
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,7 @@
|
||||
GetterOnClass5() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isPublic() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isPublic() {
|
||||
return this.isPublic;
|
||||
}
|
||||
}
|
||||
@@ -58,10 +58,10 @@
|
||||
GetterOnClass6() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") String getCouldBeNull() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") String getCouldBeNull() {
|
||||
return this.couldBeNull;
|
||||
}
|
||||
public @lombok.NonNull @java.lang.SuppressWarnings("all") String getNonNull() {
|
||||
public @lombok.NonNull @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") String getNonNull() {
|
||||
return this.nonNull;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user