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/56b5dc97dc323ffbaa299940d84750ea to your computer and use it in GitHub Desktop.
Save Vrakfall/56b5dc97dc323ffbaa299940d84750ea 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 Class
//==== Static variables ====//
//==== Attributes ====//
//==== Getters and Setters ====//
//==== Constructors ====//
//==== Lists' CRUDs ====//
//==== 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 Class creation template.

@Vrakfall
Copy link
Author

Vrakfall commented Aug 9, 2016

Updated to add private-package access modifier and an area to put the Lists' CRUDs. Note: add them below that like this, for example:

    //==== Lists' CRUDs ====//
    //====== connectedUsers ======//

    //====== rooms ======//

@Vrakfall
Copy link
Author

Vrakfall commented Aug 9, 2016

Added object & static separations.

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