Class InheritanceVisitor

java.lang.Object
dxt.scanpath.v1.support.ClassVisitor
dxt.scanpath.v1.support.InheritanceVisitor

public class InheritanceVisitor extends ClassVisitor
Visits classes and records the inheritance relationships between classes, interfaces, and superclasses.
Author:
indroneel
  • Constructor Details

    • InheritanceVisitor

      public InheritanceVisitor()
  • Method Details

    • visit

      public void visit(String className)
      Visits a class given its fully qualified class name (FQCN). Subclasses should implement this method to define the specific behavior when a class is visited. This behavior is usually to update the shared metastore with associations for the given class.
      Specified by:
      visit in class ClassVisitor
      Parameters:
      className - the fully qualified name of the class to visit