methodParams = emptyNullCheck(tokens[2]);
methodParams = tokens[2];
        public MethodSpec(String actionString) {            if (actionString == null || actionString.length() == 0) {                methodName = null;                methodInterface = null;                methodParams = null;                actions = "";            } else {                String[] tokens = actionString.split(",", 3);                switch (tokens.length) {                    case 1: {                        methodName = emptyNullCheck(tokens[0]);                        methodInterface = null;                        methodParams = null;                        break;                    }                    case 2: {                        if (tokens[1].length() == 0) throw new IllegalArgumentException("This format of actions requires a method interface");                        checkMethodInterface(tokens[1]);                        methodName = emptyNullCheck(tokens[0]);                        methodInterface = emptyNullCheck(tokens[1]);                        methodParams = null;                        break;                    }                    case 3: {                        checkMethodInterface(tokens[1]);                        if (tokens[2].indexOf(',') > -1) {                            String[] test = tokens[2].split(",", -1);                            for (int i=0; i<test.length; i++) {                                if (test[i].length() == 0) throw new IllegalArgumentException("Invalid type name");                            }                        }                        methodName = emptyNullCheck(tokens[0]);                        methodInterface = emptyNullCheck(tokens[1]);                        methodParams = emptyNullCheck(tokens[2]);                    }                }                actions = actionString;            }        }