项目作者: GodMoonLight
项目描述 :
a plugin for IDEA, which generate code convert a java bean to another bean
高级语言: Java
项目地址: git://github.com/GodMoonLight/bean-converter.git
bean-converter
a plugin for IDEA, which generate code convert a java bean to another bean
Usage:
Converter method
- Put the caret in any place within the class, press Alt+Ins or Command + n.
- select Converter method in menu or use the shortcut Ctrl+Alt+G.
3.In the dialog select the Class you want to convert To and select the class you want to convert From. - Press Ok and converter method will be added to your current class.
- Plugin also writes in comments list of fields, that were not mapped (appropriate setter or getter is missing or different types).
Converter to method
- Put the caret in any place within the class, press Alt+Ins or Command + n.
- select Converter to method in menu.
- In the dialog select the Class you want to convert To.
- Press Ok and converter method will be added to your current class.
- Plugin also writes in comments list of fields, that were not mapped (appropriate setter or getter is missing or different types).
Converter from method
- Put the caret in any place within the class, press Alt+Ins or Command + n
- select Converter from method in menu.
- In the dialog select the Class you want to convert From.
- Press Ok and converter method will be added to your current class.
- Plugin also writes in comments list of fields, that were not mapped (appropriate setter or getter is missing or different types).