mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-06 04:14:42 +00:00
Allow @Builder on instance methods
This commit is contained in:
1 parent
95303949ca
commit
14af3bec3b
9 files changed
+205
-60
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import java.util.List;
|
||||
|
||||
class BuilderInstanceMethod<T> {
|
||||
@lombok.Builder
|
||||
public String create(int show, final int yes, List<T> also, int $andMe) {
|
||||
return "" + show + yes + also + $andMe;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user