public void TypesDimension(HashMap<String, List> dims, String n) throws ParseException {
        List ty = new LinkedList();
        TypeRef tr;
        jj_consume_token(LESS);
        switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
            case ADD:
            case SUB:
            case IDENTIFIER:
                tr = Type();
                ty.add(tr);
                label_26:
                while (true) {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case COMMA:
                            break;
                        default:
                            jj_la1[64] = jj_gen;
                            break label_26;
                    }
                    jj_consume_token(COMMA);
                    tr = Type();
                    ty.add(tr);
                }
                break;
            default:
                jj_la1[65] = jj_gen;
        }
        jj_consume_token(GREATER);
        dims.put(n, ty);
    }