Live Template Help - call all setters

So I have a lot of hibernate pojos. I want to have a live template that lets me call all of the setters.  So this means that I need to know how to:

1. Get a list of the methods of a class that start with "set".
2. Iterate over this list.

Any ideas how I can do this? Hand typeing all these setters is getting tedious.

1 comment
Comment actions Permalink

I don't think you can use a live template for that. You are going to need a plugin.

0

Please sign in to leave a comment.