| Genereate Constructor Using Fields with Jackson Annotations [message #1053900]
||Wed, 08 May 2013 06:55
| Rex Kim
Registered: May 2013
I have just joined the forum, and I am very happy to be a part of Eclipse forum.
I have been writing Java server using Eclipse and It has been very helpful. I, especially enjoy code auto generations such getters and setters, constructor, toEquas...etc.
I am currently using Jackson JSON Processor to Serialize and Deserializes object, but it was always pain in the ass to write Immutable Object with @JsonCreator annotation, and @JsonProperty annotations for each constructor arguments.
So, I would like to write a plug-in that generates Constructor with using Fields with Jackson JSON annotations.
I am new to PDE, and I would like to have some help on some of these PDE components.
I am currently looking at source code for GenerateNewConstructorUsingFieldsAction, but I do not understand How it is getting fields for the Java source code and generates View.
And also, If it is possible, I would like to make this as Command-Handler Patter rather than Action.
If you guys can give me a hint on, where to start on plug-in, I would be very grateful!
Thank you guys!
Powered by FUDForum
. Page generated in 0.02670 seconds