forked from projectlombok/lombok
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* projectlombok#412: added failing test for @wither and @accessors(fluent=true) * projectlombok#412: fixing WitherProcessor and WitherFieldProcessor so that they do not take into account @accessors(fluent=true)
- Loading branch information
1 parent
744792a
commit d3195ea
Showing
10 changed files
with
73 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
class WitherAndAccessors { | ||
|
||
final int x = 10; | ||
|
||
int y = 20; | ||
|
||
@lombok.experimental.Accessors(fluent=true) | ||
final int z; | ||
|
||
@java.beans.ConstructorProperties({"y", "z"}) | ||
@java.lang.SuppressWarnings("all") | ||
@javax.annotation.Generated("lombok") | ||
public WitherAndAccessors(final int y, final int z) { | ||
this.y = y; | ||
this.z = z; | ||
} | ||
|
||
@java.lang.SuppressWarnings("all") | ||
@javax.annotation.Generated("lombok") | ||
public WitherAndAccessors withZ(final int z) { | ||
return this.z == z ? this : new WitherAndAccessors(this.y, z); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@lombok.AllArgsConstructor | ||
class WitherAndAccessors { | ||
|
||
final int x = 10; | ||
|
||
int y = 20; | ||
|
||
@lombok.experimental.Accessors(fluent=true) | ||
@lombok.experimental.Wither final int z; | ||
} |