Skip to content

Instantly share code, notes, and snippets.

@Vrakfall
Last active August 9, 2016 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vrakfall/c348134f0b1475807822b098b59be2e3 to your computer and use it in GitHub Desktop.
Save Vrakfall/c348134f0b1475807822b098b59be2e3 to your computer and use it in GitHub Desktop.
IntelliJ Idea include template to pre-comment the inside and order the redaction of a Java Enum
//==== Static variables ====//
//==== Attributes ====//
//==== Getters ====//
//==== Constructors ====//
//==== Usual Methods ====//
//==== Custom Methods ====//
//====== Object Methods ======//
//======== Public ========//
//======== Protected ========//
//======== Private-Package ========//
//======== Private ========//
//====== Static Methods ======//
//======== Public ========//
//======== Protected ========//
//======== Private-Package ========//
//======== Private ========//
@Vrakfall
Copy link
Author

Note that Github doesn't show the last newline but it's here important to be then included in the Enum creation template.

@Vrakfall
Copy link
Author

Vrakfall commented Aug 9, 2016

Updated to add private-package access modifier and added object & static separations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment