private Set<ShapeId> findProtocolsWithNoInlineDocumentSupport(Model model) {
        Set<ShapeId> noInlineDocumentSupport = new HashSet<>();
        for (Shape shape : model.getShapesWithTrait(ProtocolDefinitionTrait.class)) {
            ProtocolDefinitionTrait definitionTrait = shape.expectTrait(ProtocolDefinitionTrait.class);
            if (definitionTrait.getNoInlineDocumentSupport()) {
                noInlineDocumentSupport.add(shape.getId());
            }
        }
        return noInlineDocumentSupport;
    }
Detects when a protocol indicates that it does not support inline documents,
yet the protocol trait is attached to a service that uses inline documents.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/NoInlineDocumentSupportValidator.java