test_class.declarator: bldr = SilentChemObjectBuilder.getInstance()
test_class.original_string: IChemObjectBuilder bldr = SilentChemObjectBuilder.getInstance();
test_class.type: IChemObjectBuilder
test_class.var_name: bldr
test_class.file: tool/smarts/src/test/java/org/openscience/cdk/smarts/SmartsPatternTest.java
test_class.identifier: SmartsPatternTest
test_case.body: @Test
      public void isotopes() throws Exception {
          // FIXME SMARTS Grammar needs fixing/replacing [12] is not considered valid
  
          assertFalse(SmartsPattern.create("[12*]", bldr).matches(smi("C")));
          assertFalse(SmartsPattern.create("[12*]", bldr).matches(smi("[CH4]")));
          assertTrue(SmartsPattern.create("[12*]", bldr).matches(smi("[12CH4]")));
          assertFalse(SmartsPattern.create("[12*]", bldr).matches(smi("[13CH4]")));
  
          assertFalse(SmartsPattern.create("[13*]", bldr).matches(smi("C")));
          assertFalse(SmartsPattern.create("[13*]", bldr).matches(smi("[CH4]")));
          assertFalse(SmartsPattern.create("[13*]", bldr).matches(smi("[12CH4]")));
          assertTrue(SmartsPattern.create("[13*]", bldr).matches(smi("[13CH4]")));
  
          assertTrue(SmartsPattern.create("[0*]", bldr).matches(smi("C")));
          assertTrue(SmartsPattern.create("[0*]", bldr).matches(smi("[CH4]")));
          assertFalse(SmartsPattern.create("[0*]", bldr).matches(smi("[12CH4]")));
          assertFalse(SmartsPattern.create("[0*]", bldr).matches(smi("[13CH4]")));
  
  //      Not possible with current grammar
  //        assertFalse(SmartsPattern.create("[!0*]", bldr).matches(smi("C")));
  //        assertFalse(SmartsPattern.create("[!0*]", bldr).matches(smi("[CH4]")));
  //        assertTrue(SmartsPattern.create("[!0*]", bldr).matches(smi("[12CH4]")));
  //        assertTrue(SmartsPattern.create("[!0*]", bldr).matches(smi("[13CH4]")));
      }
test_case.class_method_signature: SmartsPatternTest.isotopes()
test_case.full_signature: @Test public void isotopes()
test_case.identifier: isotopes
test_case.invocations: assertFalse matches create smi assertFalse matches create smi assertTrue matches create smi assertFalse matches create smi assertFalse matches create smi assertFalse matches create smi assertFalse matches create smi assertTrue matches create smi assertTrue matches create smi assertTrue matches create smi assertFalse matches create smi assertFalse matches create smi
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isotopes()
focal_class.declarator: query
focal_class.modifier: private final
focal_class.original_string: private final IAtomContainer query;
focal_class.type: IAtomContainer
focal_class.var_name: query
focal_class.declarator: pattern
focal_class.modifier: private final
focal_class.original_string: private final Pattern        pattern;
focal_class.type: Pattern
focal_class.var_name: pattern
focal_class.declarator: doPrep = true
focal_class.modifier: private
focal_class.original_string: private boolean doPrep = true;
focal_class.type: boolean
focal_class.var_name: doPrep
focal_class.declarator: arom = new Aromaticity(ElectronDonation.daylight(),
                                                                 Cycles.or(Cycles.all(), Cycles.relevant()))
focal_class.modifier: private static final
focal_class.original_string: private static final Aromaticity    arom = new Aromaticity(ElectronDonation.daylight(),
                                                                 Cycles.or(Cycles.all(), Cycles.relevant()));
focal_class.type: Aromaticity
focal_class.var_name: arom
focal_class.file: tool/smarts/src/main/java/org/openscience/cdk/smarts/SmartsPattern.java
focal_class.identifier: SmartsPattern
focal_class.class_method_signature: SmartsPattern.SmartsPattern(final String smarts, IChemObjectBuilder builder)
focal_class.full_signature: private  SmartsPattern(final String smarts, IChemObjectBuilder builder)
focal_class.identifier: SmartsPattern
focal_class.modifiers: private
focal_class.parameters: (final String smarts, IChemObjectBuilder builder)
focal_class.signature:  SmartsPattern(final String smarts, IChemObjectBuilder builder)
focal_class.class_method_signature: SmartsPattern.prepare(IAtomContainer target)
focal_class.full_signature: public static void prepare(IAtomContainer target)
focal_class.identifier: prepare
focal_class.modifiers: public static
focal_class.parameters: (IAtomContainer target)
focal_class.return: void
focal_class.signature: void prepare(IAtomContainer target)
focal_class.class_method_signature: SmartsPattern.setPrepare(boolean doPrep)
focal_class.full_signature: public SmartsPattern setPrepare(boolean doPrep)
focal_class.identifier: setPrepare
focal_class.modifiers: public
focal_class.parameters: (boolean doPrep)
focal_class.return: SmartsPattern
focal_class.signature: SmartsPattern setPrepare(boolean doPrep)
focal_class.class_method_signature: SmartsPattern.match(IAtomContainer container)
focal_class.full_signature: @Override public int[] match(IAtomContainer container)
focal_class.identifier: match
focal_class.modifiers: @Override public
focal_class.parameters: (IAtomContainer container)
focal_class.return: int[]
focal_class.signature: int[] match(IAtomContainer container)
focal_class.class_method_signature: SmartsPattern.matchAll(final IAtomContainer target)
focal_class.full_signature: @Override public Mappings matchAll(final IAtomContainer target)
focal_class.identifier: matchAll
focal_class.modifiers: @Override public
focal_class.parameters: (final IAtomContainer target)
focal_class.return: Mappings
focal_class.signature: Mappings matchAll(final IAtomContainer target)
focal_class.class_method_signature: SmartsPattern.create(String smarts, IChemObjectBuilder builder)
focal_class.full_signature: public static SmartsPattern create(String smarts, IChemObjectBuilder builder)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (String smarts, IChemObjectBuilder builder)
focal_class.return: SmartsPattern
focal_class.signature: SmartsPattern create(String smarts, IChemObjectBuilder builder)
focal_class.class_method_signature: SmartsPattern.create(String smarts)
focal_class.full_signature: public static SmartsPattern create(String smarts)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (String smarts)
focal_class.return: SmartsPattern
focal_class.signature: SmartsPattern create(String smarts)
focal_class.superclass: extends Pattern
focal_method.body: public static SmartsPattern create(String smarts, IChemObjectBuilder builder) {
          return new SmartsPattern(smarts, builder);
      }
focal_method.class_method_signature: SmartsPattern.create(String smarts, IChemObjectBuilder builder)
focal_method.full_signature: public static SmartsPattern create(String smarts, IChemObjectBuilder builder)
focal_method.identifier: create
focal_method.modifiers: public static
focal_method.parameters: (String smarts, IChemObjectBuilder builder)
focal_method.return: SmartsPattern
focal_method.signature: SmartsPattern create(String smarts, IChemObjectBuilder builder)