Class ClassVisitorImpl

java.lang.Object
org.objectweb.asm.ClassVisitor
org.jvnet.hk2.testing.junit.internal.ClassVisitorImpl
Direct Known Subclasses:
ServiceLocatorTestRule.Visitor

public class ClassVisitorImpl extends org.objectweb.asm.ClassVisitor
  • Field Details

    • SERVICE_CLASS_FORM

      private static final String SERVICE_CLASS_FORM
      See Also:
    • locator

      private final ServiceLocator locator
    • verbose

      private final boolean verbose
    • implName

      private String implName
    • isAService

      private boolean isAService
    • excludes

      private final Set<String> excludes
  • Constructor Details

    • ClassVisitorImpl

      public ClassVisitorImpl(ServiceLocator locator, boolean verbose, Set<String> excludes)
      Creates this with the config to add to if this is a service
      Parameters:
      locator -
      verbose - true if we should print out any service we are binding
      excludes - The set of implementations to NOT add to the locator
  • Method Details

    • visit

      public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
      Overrides:
      visit in class org.objectweb.asm.ClassVisitor
    • visitAnnotation

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

      public void visitEnd()
      Overrides:
      visitEnd in class org.objectweb.asm.ClassVisitor