Skip to content
This repository was archived by the owner on Jun 26, 2019. It is now read-only.
This repository was archived by the owner on Jun 26, 2019. It is now read-only.

Save the TagType of lists #11

@piegamesde

Description

@piegamesde

The ListTag class has an attribute:

private final Class<T> type;

This is fine and helpful, but most of the time I'm more interested in the TagType of the children. I know TagType and Class names are a 1:1 mapping, but it feels wrong to use "secondary" data (the class) to convert it back into "primary" data (the tag type as specified in the file).

I know having the class is useful and may be important for Generics reasons, but is it possible to add the tag type of the children anyway?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions