@Override
    public void build() {
        depBuilders.forEach(endpointDep -> {
            endpointDep.prepare();
            // Source endpoint meta could be generated duplicated if it belongs to an entry span of downstream.
            // But if it belongs a local or exit span, then miss it in metadata.
            // Consider OAP has the capability to remove duplicate, generate it anyway.
            sourceReceiver.receive(endpointDep.toSourceEndpoint());
            sourceReceiver.receive(endpointDep.toEndpoint());
            sourceReceiver.receive(endpointDep.toEndpointRelation());
        });
    }
Endpoint dependency could be detected by local and exit span in cross threads cases.
This is an add-on to {@link RPCAnalysisListener}, which is detecting all RPC relative statistics.

@since 9.0.0
oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/EndpointDepFromCrossThreadAnalysisListener.java