Class ClassVisitorImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      ClassVisitorImpl​(ServiceLocator locator, boolean verbose, java.util.Set<java.lang.String> excludes)
      Creates this with the config to add to if this is a service
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)  
      org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String desc, boolean visible)  
      void visitEnd()  
      • Methods inherited from class org.objectweb.asm.ClassVisitor

        getDelegate, visitAttribute, visitField, visitInnerClass, visitMethod, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SERVICE_CLASS_FORM

        private static final java.lang.String SERVICE_CLASS_FORM
        See Also:
        Constant Field Values
      • verbose

        private final boolean verbose
      • implName

        private java.lang.String implName
      • isAService

        private boolean isAService
      • excludes

        private final java.util.Set<java.lang.String> excludes
    • Constructor Detail

      • ClassVisitorImpl

        public ClassVisitorImpl​(ServiceLocator locator,
                                boolean verbose,
                                java.util.Set<java.lang.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 Detail

      • visit

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

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

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