Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 275530 Details for
Bug 458364
Code Generation for Builder and Factory classes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Class before and after the builder is introduced
file_458364.txt (text/plain), 566 bytes, created by
Pierre-Yves Bigourdan
on 2018-08-24 14:07:59 EDT
(
hide
)
Description:
Class before and after the builder is introduced
Filename:
MIME Type:
Creator:
Pierre-Yves Bigourdan
Created:
2018-08-24 14:07:59 EDT
Size:
566 bytes
patch
obsolete
>public class ClassToBuild { > > private final String someString; > > public ClassToBuild(String someString) { > this.someString = someString; > } >} > >public class ClassToBuild { > > private final String someString; > > private ClassToBuild(String someString) { > this.someString = someString; > } > > public static final class Builder { > > private String someString; > > public Builder withSomeString(String someString) { > this.someString = someString; > } > > public ClassToBuild build() { > return new ClassToBuild(someString); > } > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 458364
:
250214
| 275530