This is a utility for all those who hate coding JavaBeans — especially the javadoc for
set methods. BeanBuilder enables you to generate JavaBean source code by declaring class attributes in a
- Primitive javadoc for
toStringmethod to print the state of member variables.
- Resolves attribute type from fully qualified class name to class name and add them in class import.
- Enables user to specify initial values for member variables.
java BeanBuilder <Descriptor File> <Target Directory> [makeSer] makeSer flag makes the bean Serializable.
java BeanBuilder NewBean.des . makeSer
About the Author
Please send your comments or suggestions to Rakesh Nagar, a software engineer with L&T Infotech Ltd.
Java users are encouraged to submit samples of useful code for publication in the pages of Gamelan. Send your files and comments to email@example.com for consideration. Thank you.