Skip to content

Commit

Permalink
Format constants at the top of FileFragmentMap
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Aug 22, 2020
1 parent 05cf076 commit 575afde
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions src/main/java/org/fulib/classmodel/FileFragmentMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,26 @@ public class FileFragmentMap
{
// =============== Constants ===============

/** @since 1.2 */ public static final String CLASS = "class";
/** @since 1.2 */ public static final String PACKAGE = "package";
// @formatter:off
/** @since 1.2 */ public static final String CLASS = "class";
/** @since 1.2 */ public static final String PACKAGE = "package";
/** @since 1.2 */ public static final String CONSTRUCTOR = "constructor";
/** @since 1.2 */ public static final String ATTRIBUTE = "attribute";
/** @since 1.2 */ public static final String METHOD = "method";
/** @since 1.2 */ public static final String IMPORT = "import";
/** @since 1.2 */ public static final String CLASS_BODY = "classBody";
/** @since 1.2 */ public static final String CLASS_DECL = "classDecl";
/** @since 1.2 */ public static final String CLASS_END = "classEnd";
/** @since 1.2 */ public static final String EOF = "eof";

/** @since 1.2 */ public static final int PACKAGE_NEWLINES = 0;
/** @since 1.2 */ public static final int IMPORT_NEWLINES = 1;
/** @since 1.2 */ public static final int CLASS_NEWLINES = 2;
/** @since 1.2 */ public static final int FIELD_NEWLINES = 1;
/** @since 1.2 */ public static final String ATTRIBUTE = "attribute";
/** @since 1.2 */ public static final String METHOD = "method";
/** @since 1.2 */ public static final String IMPORT = "import";
/** @since 1.2 */ public static final String CLASS_BODY = "classBody";
/** @since 1.2 */ public static final String CLASS_DECL = "classDecl";
/** @since 1.2 */ public static final String CLASS_END = "classEnd";
/** @since 1.2 */ public static final String EOF = "eof";

/** @since 1.2 */ public static final int PACKAGE_NEWLINES = 0;
/** @since 1.2 */ public static final int IMPORT_NEWLINES = 1;
/** @since 1.2 */ public static final int CLASS_NEWLINES = 2;
/** @since 1.2 */ public static final int FIELD_NEWLINES = 1;
/** @since 1.2 */ public static final int CONSTRUCTOR_NEWLINES = 2;
/** @since 1.2 */ public static final int METHOD_NEWLINES = 2;
/** @since 1.2 */ public static final int CLASS_END_NEWLINES = 1;
/** @since 1.2 */ public static final int METHOD_NEWLINES = 2;
/** @since 1.2 */ public static final int CLASS_END_NEWLINES = 1;
// @formatter:on

public static final String PROPERTY_fileName = "fileName";

Expand Down

0 comments on commit 575afde

Please sign in to comment.