public Optional<Parameter> get(Identifier name) {
        for (Parameter parameter : parameters) {
            if (parameter.getName().equals(name)) {
                return Optional.of(parameter);
            }
        }
        return Optional.empty();
    }
Gets the parameter for the given name.

@return returns an optional containing the parameter if present, empty otherwise.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/parameters/Parameters.java