default void validate() throws GenerationException {
        // TODO: check that we have at least of parsed type
        if (getUnresolvedTypeReferences().size() > 0) {
            throw new GenerationException("Unresolved types left: " + getUnresolvedTypeReferences());
        }
    }
validates the {@link TypeContext}

@throws GenerationException if {@link TypeContext}
code-generation/protocol-base-mspec/src/main/java/org/apache/plc4x/plugins/codegenerator/language/mspec/protocol/ValidatableTypeContext.java