摘要: private void innerCollectMethodFromSrc(File srcFile, boolean isSingle) { ArrayList<File> classFileList = new ArrayList<>(); if (srcFile.isDirectory()) 阅读全文
posted @ 2019-08-02 21:02 李艳艳665 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 总体流程都在collect方法中 public HashMap collect(List<File> srcFolderList, List<File> dependencyJarList) { mTraceConfig.parseBlackFile(mMappingCollector); //获取 阅读全文
posted @ 2019-08-02 21:02 李艳艳665 阅读(107) 评论(0) 推荐(0) 编辑
摘要: private void collectAndIdentifyJar(Map<File, File> jarInputMaps, Map<File, File> dirInputMaps, JarInput input, File rootOutput, boolean isIncremental) 阅读全文
posted @ 2019-08-02 21:02 李艳艳665 阅读(98) 评论(0) 推荐(0) 编辑
摘要: protected void replaceFile(QualifiedContent input, File newFile) { final Field fileField = ReflectUtil.getDeclaredFieldRecursive(input.getClass(), 'fi 阅读全文
posted @ 2019-08-02 21:02 李艳艳665 阅读(80) 评论(0) 推荐(0) 编辑
摘要: private void collectAndIdentifyDir(Map<File, File> dirInputMap, DirectoryInput input, File rootOutput, boolean isIncremental) { final File dirInput = 阅读全文
posted @ 2019-08-02 21:02 李艳艳665 阅读(128) 评论(0) 推荐(0) 编辑
摘要: rivate class TraceMethodAdapter extends AdviceAdapter { private final String methodName; private final String name; private final String className; pr 阅读全文
posted @ 2019-08-02 21:01 李艳艳665 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 入口是MethodTracer的trace方法 public void trace(Map<File, File> srcFolderList, Map<File, File> dependencyJarList) { traceMethodFromSrc(srcFolderList); trace 阅读全文
posted @ 2019-08-02 21:01 李艳艳665 阅读(119) 评论(0) 推荐(0) 编辑
摘要: private class CollectMethodNode extends MethodNode { private String className; private boolean isConstructor; CollectMethodNode(String className, int 阅读全文
posted @ 2019-08-02 21:01 李艳艳665 阅读(134) 评论(0) 推荐(0) 编辑
摘要: private class TraceClassAdapter extends ClassVisitor { private String className; private boolean isABSClass = false; private boolean hasWindowFocusMet 阅读全文
posted @ 2019-08-02 21:01 李艳艳665 阅读(156) 评论(0) 推荐(0) 编辑
摘要: private class TraceClassAdapter extends ClassVisitor { private String className; private boolean isABSClass = false; private boolean isMethodBeatClass 阅读全文
posted @ 2019-08-02 21:01 李艳艳665 阅读(179) 评论(0) 推荐(0) 编辑