public boolean allowParameters(int number) {
        if ("for".equals(keyword.getKeyword()) && (number == 0 || number == 1)) {
            return true;
        } else if ("enum".equals(keyword.getKeyword()) && (number == 1 || number == 2 || number == 3)) {
            return true;
        } else if ("set".equals(keyword.getKeyword()) && number == 1) {
            return true;
        }
        return false;
    }