mufiye commented on issue #9999: URL: https://github.com/apache/skywalking/issues/9999#issuecomment-1381461399
> > the interception of SpanRef can take effect in the aftermethod of TracerCreateLocalSpanInterceptor? > > I am confused about it. And after reading source code about transform, I think it can not take effect? > > What are `can` and `can't` about? Which part? I am confused about if below codes? Will the `SpanRef` implemented `EnhancedInstance` by the agent in first code block or the `SpanRef` intercepted by the `SpanRefConstructInterceptor` in second block? Both these blocks are in the `afterMethod` in other `Intercepter`. ```java EnhancedInstance spanRef = (EnhancedInstance)new SpanRef(); ``` or ```java SpanRef spanRef = new SpanRef(localSpan); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
