code: private void removeVetoedClasses(Set<Class<?>> classes) {
          //get hold of classnames
          Set<String> classNames = new HashSet<String>();
          for (Class<?> clazz : classes) {
              classNames.add(clazz.getName());
          }
          // take into considerations of the exclude in beans.xml
          Collection<String> includedClasses = WeldCDIUtils.filterClassesBasedOnBeansXML(this.beansXml, this.resourceLoader, classNames);
          Iterator<Class<?>> iterator = classes.iterator();
          while (iterator.hasNext()) {
              Class<?> clazz = iterator.next();
              if (WeldCDIUtils.isClassVetoed(clazz)) {
                  iterator.remove();
              } else if (!includedClasses.contains(clazz.getName())) {
                  iterator.remove();
              }
  
          }
      }
docs: Need to removed the vetoed classes from the set so that we can ignore them
  
  @param classes