This plugin will generate an inner enumeration to reflect all available fields. Just use "ALT + INSERT" and select "Generate Property Enums"
Recent change notes
- 08/20/2016 Update to current IDE and prepared for Jetbrains Upload.
General usage instructions
Plugin for IntelliJ (2016.2.2) to generate property enums for Entities This is related to the project moprhium [https://github.com/sboesebeck/morphium] the caching mongodb POJO Object Mapper. When querying mongodb, you usually need to define the field you are looking for as string - which kind of breaks the whole abstraction.