Class CallGraphBuilder


  • public class CallGraphBuilder
    extends Object
    Builder that constructs a CallGraph from a ClassPool by scanning all methods for invocations.
    • Constructor Detail

      • CallGraphBuilder

        public CallGraphBuilder()
    • Method Detail

      • getCurrentMethod

        public static String getCurrentMethod()
        Returns:
        the current method
      • build

        public static CallGraph build​(ClassPool classPool)
        Builds a call graph over every method in the pool, resolving virtual, dynamic, and condy targets.
        Parameters:
        classPool - the pool of classes to scan
        Returns:
        the populated call graph