package com.sleekbyte.tailor.common;

import com.sleekbyte.tailor.listeners.BlankLineListener;
import com.sleekbyte.tailor.listeners.MultipleImportListener;
import com.sleekbyte.tailor.listeners.RedundantParenthesisListener;
import com.sleekbyte.tailor.listeners.SemicolonTerminatedListener;
import com.sleekbyte.tailor.listeners.UpperCamelCaseListener;
import com.sleekbyte.tailor.listeners.WhitespaceListener;

/**
 * Enum for all rules implemented in Tailor.
 */
public enum Rules {
    UPPER_CAMEL_CASE ("upperCamelCase", UpperCamelCaseListener.class.getName()),
    SEMICOLON_TERMINATED ("semicolonTerminated", SemicolonTerminatedListener.class.getName()),
    REDUNDANT_PARENTHESIS ("redundantParentheses", RedundantParenthesisListener.class.getName()),
    MULTIPLE_IMPORT ("multipleImports", MultipleImportListener.class.getName()),
    BLANK_LINE_FUNCTION ("blankLinesAroundFunction", BlankLineListener.class.getName()),
    WHITESPACE ("whitespace", WhitespaceListener.class.getName());

    private String name;
    private String className;

    Rules(String name, String className) {
        this.name = name;
        this.className = className;
    }

    public String getName() {
        return this.name;
    }

    public String getClassName() {
        return this.className;
    }

}

@@ -678,17 +678,17 @@
 ARENTHES
-I
+E
 S (%22redu

Rename REDUNDANT_PARENTHESIS rule to REDUNDANT_PARENTHESES