@Override
    public final List<String> getTags() {
        return getTrait(TagsTrait.class).map(TagsTrait::getValues).orElseGet(Collections::emptyList);
    }
Gets the traits introduced by the shape and not inherited
from mixins.

@return Returns the introduced traits.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/Shape.java