code: @Override
      public IAtomType[] findMatchingAtomTypes(IAtomContainer atomContainer) throws CDKException {
          for (IAtom atom : atomContainer.atoms()) {
              IAtomType type = cdkMatcher.findMatchingAtomType(atomContainer, atom);
              atom.setAtomTypeName(type == null ? null : type.getAtomTypeName());
              atom.setHybridization(type == null ? null : type.getHybridization());
          }
          Aromaticity.cdkLegacy().apply(atomContainer);
          IAtomType[] types = new IAtomType[atomContainer.getAtomCount()];
          int typeCounter = 0;
          for (IAtom atom : atomContainer.atoms()) {
              String mappedType = mapCDKToSybylType(atom);
              if (mappedType == null) {
                  types[typeCounter] = null;
              } else {
                  types[typeCounter] = factory.getAtomType(mappedType);
              }
              typeCounter++;
          }
          return types;
      }
docs: {@inheritDoc}