提交 aae50a34 编写于 作者: wu-sheng's avatar wu-sheng

移除无用的方法

上级 f9653bbd
......@@ -38,7 +38,7 @@ public class SkywalkingAgent {
startBootPluginDefines(pluginDefineCategory.getBootPluginsDefines());
new AgentBuilder.Default().type(exclusivePackageClass()).transform(new AgentBuilder.Transformer() {
new AgentBuilder.Default().type(myMatcher()).transform(new AgentBuilder.Transformer() {
public DynamicType.Builder<?> transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader) {
AbstractClassEnhancePluginDefine pluginDefine = pluginDefineCategory.getClassEnhancePluginDefines().get(typeDescription.getTypeName());
if (pluginDefine == null) {
......@@ -58,10 +58,6 @@ public class SkywalkingAgent {
}
}
private static ElementMatcher.Junction<NamedElement> exclusivePackageClass() {
return myMatcher();
}
private static <T extends NamedElement> ElementMatcher.Junction<T> myMatcher() {
return new SkyWalkingEnhanceMatcher<T>();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册