mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 22:26:17 +00:00
Allow @Builder on instance methods
This commit is contained in:
@@ -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