code: public void visitEnd() {
          String classname = workbench.getType().getClassName();
  
          component.addAttribute(new Attribute("classname", classname));
  
          // Generates the provides attribute.
          component.addElement(ElementHelper.getProvidesElement(specifications));
  
          if (workbench.getRoot() == null) {
              workbench.setRoot(component);
              // Add the instance
              workbench.setInstance(ElementHelper.declareInstance(workbench));
          } else {
              // Error case: 2 component type's annotations (@Component and @Handler for example) on the same class
              reporter.error("Multiple 'component type' annotations on the class '{%s}'.", classname);
              reporter.warn("@Service is ignored.");
          }
      }
docs: End of the visit.
  Declare the "component", "provides" and "instance" elements.
  
  @see org.objectweb.asm.AnnotationVisitor#visitEnd()