mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 22:15:19 +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
@@ -10,38 +10,46 @@ class GetterOnMethodErrors2 {
|
||||
public @interface Test {
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getBad1() {
|
||||
return this.bad1;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getBad2() {
|
||||
return this.bad2;
|
||||
}
|
||||
@Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getBad3() {
|
||||
return this.bad3;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getBad4() {
|
||||
return this.bad4;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getGood1() {
|
||||
return this.good1;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getGood2() {
|
||||
return this.good2;
|
||||
}
|
||||
@Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getGood3() {
|
||||
return this.good3;
|
||||
}
|
||||
@Deprecated
|
||||
@Test
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int getGood4() {
|
||||
return this.good4;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user