default InputStream getMspecStream(String mspecName) throws GenerationException {
        Objects.requireNonNull(mspecName, "mspecName must be set");
        String versionSubPath = getVersion().map(version -> "/v" + version).orElse("");
        String packageName = getPackageName();
        String path = "/protocols/" + packageName + versionSubPath + "/" + mspecName + ".mspec";
        InputStream inputStream = getClass().getResourceAsStream(path);
        if (inputStream == null) {
            throw new GenerationException("Error loading " + mspecName + " schema for protocol '" + getName() + "' (path " + path + ")");
        }
        return inputStream;
    }
Returns a mspec stream for a give name

@param mspecName the name without the .mspec extension
@return the {@link InputStream} of the referenced {@code mspecName}
@throws GenerationException if the mspec can't be found.
code-generation/protocol-base-mspec/src/main/java/org/apache/plc4x/plugins/codegenerator/language/mspec/protocol/ProtocolHelpers.java