Compatible with: IntelliJ IDEA Android Studio
Jun 29, 2017
1 994

This plugin generates code from right click 'Generate...' menu while focused on a java/scala class. The output class can be customized using a provided velocity template to format the code based on the origin class and optional selected classes.

The following features are available:

  • Generate the model class for the persistent class.
  • Generate the converter class for the model class and the persistent class.
  • Support add custom template to generate more code.
  • Generate @see doc for override method

If you want to add variables into template context, you can modified the source and package the plugin to meet your needs. See README

Download plugin

Recent change notes

  • version 1.0
  • version 1.1
    add action "Generate @see doc for override method"
  • version 1.2
    Added Scala support. Thanks to @dkarlinsky
    Support selecting destination source root for the generated class. Thanks to @dkarlinsky
    Support custom the generate file encoding