Java 调用链路
生成调用关系
官网文档
https://github.com/Adrninistrator/java-all-call-graph
参考文档 https://github.com/Adrninistrator/java-callgraph2
https://github.com/gousiosg/java-callgraph
ASM 增强 https://github.com/avitkus/ASM-method-tracer/
https://github.com/Adrninistrator/java-all-call-graph/blob/main/quick_start.md
下载运行
https://central.sonatype.com/artifact/com.github.adrninistrator/java-all-call-graph?smo=true
下载运行
Publish Remote
基本原理
在获取Java方法调用关系时,使用了 https://github.com/gousiosg/java-callgraph项目,并对其进行了增强,java-callgraph使用Apache Commons BCEL(Byte Code Engineering Library)解析Java方法调用关系,Matthieu Vergne(https://www.matthieu-vergne.fr/)为该项目增加了解析动态调用的能力(lambda表达式等)。