class StructureResonanceGenerator {

    public IAtomContainer getContainer(IAtomContainer molecule, IAtom atom) {
        IAtomContainerSet setOfCont = getContainers(molecule);
        if (setOfCont == null) return null;

        for (IAtomContainer container : setOfCont.atomContainers()) {
            if (container.contains(atom)) return container;
        }

        return null;
    }

    public  StructureResonanceGenerator();
    public  StructureResonanceGenerator(boolean lookingSymmetry);

}