mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 02:15:36 +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
@@ -9,7 +9,7 @@ class DelegateOnGetter {
|
||||
DelegateOnGetter() {
|
||||
super();
|
||||
}
|
||||
public @Delegate @java.lang.SuppressWarnings("all") Bar getBar() {
|
||||
public @Delegate @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Bar getBar() {
|
||||
java.lang.Object value = this.bar.get();
|
||||
if ((value == null))
|
||||
{
|
||||
@@ -35,10 +35,10 @@ class DelegateOnGetter {
|
||||
}
|
||||
return (Bar) ((value == this.bar) ? null : value);
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") int getInt() {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int getInt() {
|
||||
return this.getBar().getInt();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setList(final java.util.ArrayList<java.lang.String> list) {
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") void setList(final java.util.ArrayList<java.lang.String> list) {
|
||||
this.getBar().setList(list);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user