Class DefaultFieldVisitor

java.lang.Object
org.objectweb.asm.FieldVisitor
org.apache.maven.shared.dependency.analyzer.asm.DefaultFieldVisitor

public class DefaultFieldVisitor extends org.objectweb.asm.FieldVisitor
Computes the set of classes referenced by visited code. Inspired by org.objectweb.asm.depend.DependencyVisitor in the ASM dependencies example.
Author:
Mark Hobson
  • Field Summary

    Fields inherited from class org.objectweb.asm.FieldVisitor

    api, fv
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultFieldVisitor(org.objectweb.asm.AnnotationVisitor annotationVisitor, ResultCollector resultCollector, String usedByClass)
    Constructor for DefaultFieldVisitor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.objectweb.asm.AnnotationVisitor
    visitAnnotation(String desc, boolean visible)

    Methods inherited from class org.objectweb.asm.FieldVisitor

    getDelegate, visitAttribute, visitEnd, visitTypeAnnotation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultFieldVisitor

      public DefaultFieldVisitor(org.objectweb.asm.AnnotationVisitor annotationVisitor, ResultCollector resultCollector, String usedByClass)

      Constructor for DefaultFieldVisitor.

      Parameters:
      annotationVisitor - a AnnotationVisitor object.
      resultCollector - a ResultCollector object.
  • Method Details

    • visitAnnotation

      public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
      Overrides:
      visitAnnotation in class org.objectweb.asm.FieldVisitor