+ * 怎么从 className|methodDesc 到 id 对应起来?? + * 当id少时,可以id自己来判断是否符合? + * + * 如果是每个 className|methodDesc 为 key ,是否 + *+ * + * @author hengyunabc 2020-04-24 + * + */ +public class SpyImpl extends AbstractSpy { + private static final Logger logger = LoggerFactory.getLogger(SpyImpl.class); + + @Override + public void atEnter(Class> clazz, String methodInfo, Object target, Object[] args) { + ClassLoader classLoader = clazz.getClassLoader(); + + String[] info = StringUtils.splitMethodInfo(methodInfo); + String methodName = info[0]; + String methodDesc = info[1]; + // TODO listener 只用查一次,放到 thread local里保存起来就可以了! + List