@Test public void testRGroup1() throws StructureBuildingException { Fragment f = fm.buildSMILES("[R]CC[R]"); fm.makeHydrogensExplicit(); String smiles = SMILESWriter.generateSmiles(f); assertEquals("*CC*", smiles); }
static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles); }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles);  }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles);   }