Class Analyzer


  • public class Analyzer
    extends java.lang.Object
    The type Analyzer.
    • Constructor Summary

      Constructors 
      Constructor Description
      Analyzer()  
    • Constructor Detail

      • Analyzer

        public Analyzer()
    • Method Detail

      • createEdges

        public void createEdges​(Model model)
        Create edges.
        Parameters:
        model - the model
      • initModel

        public void initModel​(Model model,
                              java.util.List<ShrinkBag> bags)
                       throws java.io.IOException
        Create all nodes needed for dependency analysis using a ModelVisitor. Also creates artificial <clinit> nodes for each (non-inner) class if not already present.
        Parameters:
        model - the model
        bags - the bags
        Throws:
        java.io.IOException - the io exception
      • createInheritanceEdges

        public void createInheritanceEdges​(Model model)
        create EXTENDS / IMPLEMENTS edges.
        Parameters:
        model - the model
      • createDependencyEdges

        public void createDependencyEdges​(Model model)
        Create all kinds of dependency edges for the whole model.
        Parameters:
        model - the model