mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +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
@@ -5,13 +5,13 @@ class Getter {
|
||||
Getter() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isFoo() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isFoo() {
|
||||
return this.foo;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isBar() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isBar() {
|
||||
return this.isBar;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isHasBaz() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isHasBaz() {
|
||||
return this.hasBaz;
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@ class MoreGetter {
|
||||
boolean hasFoo() {
|
||||
return true;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isFoo() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean isFoo() {
|
||||
return this.foo;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user