public Optional<String> getTypeVersion() {
        return Optional.ofNullable(typeVersion);
    }
Gets this TraceMetadata's TypeVersion in an Optional container. For example, when defining
trace files for Java source code, the typeVersion would be the minimum supported JDK version.
Different artifacts may have different output based on the version targets (for example the ability
to use more features in a newer version of a language).

@return Optional container with type version or empty container if
TypeVersion has not been set.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/trace/TraceMetadata.java