Class ClassAnnotationVisitor

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

public class ClassAnnotationVisitor extends ClassVisitor
Visits classes and records the annotations declared on their class, interface, and superclass hierarchy.
Author:
indroneel
  • Constructor Details

    • ClassAnnotationVisitor

      public ClassAnnotationVisitor()
  • 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