We never like to write a boiler plate code.It makes programming too boring. If we have to write a boiler plate code that might be a flaw in the design. Somehow the above assumption is not good. A lot of times when you are architecting a solution where there is a distributed team of 20-30 people you have to follow a particular design in writing the code that others understand. Sometimes frameworks might not give you a option to design the application such that there is no boiler plate code.
As you saw , just as you create a simple class using new class , you can also generate the boiler plate code without much problem and make your life much simpler. Over the period of time refactoring can help in creating more abstraction and generating more code that can help.Enjoy!!!
Please find the source ParsleyCodeGenerator for generating the parsely code with templates. Compiling the above air application in Flash Builder will result in installer that can be installed on your machine. Once installed use Eclipse Plugin
blog to create a simple plugin that will invoke Parsley Code Generator.