kylixs commented on code in PR #561:
URL: https://github.com/apache/skywalking-java/pull/561#discussion_r1239594664
##########
apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/plugin/interceptor/enhance/v2/ClassEnhancePluginDefineV2.java:
##########
@@ -56,15 +57,22 @@
*/
public abstract class ClassEnhancePluginDefineV2 extends
AbstractClassEnhancePluginDefine {
+ private ConstructorInterceptPoint[] constructorInterceptPoints;
+ private InstanceMethodsInterceptV2Point[] instanceMethodsInterceptV2Points;
+ private StaticMethodsInterceptV2Point[] staticMethodsInterceptV2Points;
Review Comment:
Cache the `XxxInterceptPoint` instances which used by
`DelegateNamingResolver#resolve(Object interceptPoint)` to generate fixed
field name on re-transform class
--
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]