@Override
    protected Node createNode() {
        ObjectNode.Builder builder = Node.objectNodeBuilder();
        builder.sourceLocation(getSourceLocation());
        if (!traits.isEmpty()) {
            ArrayNode ids = traits.stream()
                    .map(ShapeId::toString)
                    .map(Node::from)
                    .collect(ArrayNode.collect());
            builder.withMember("traits", ids);

            if (noInlineDocumentSupport) {
                builder.withMember("noInlineDocumentSupport", true);
            }
        }
        return builder.build();
    }
Checks if this protocol does not support inline documents.

@return Returns true if inline documents are not supported.
smithy-model/src/main/java/software/amazon/smithy/model/traits/ProtocolDefinitionTrait.java