Skip to content

SwissKnife IDEA Plugin

Arasthel edited this page Aug 21, 2014 · 5 revisions

You can find it on JetBrains Plugin Repo.

Using the plugin is really simple. You just have to install it, go to a Groovy class and open Generate menu. There, you will find this:

screen_generate screen_annotations

Then, you select the desired annotation and a list of compatible methods will be shown:

screen_methods

After you select one, the desired method will be appended to your class:

screen_result

The names of the methods and variables can be changed to whatever you want if you keep the argument list structure.