test_class.declarator: builder
test_class.modifier: private static
test_class.original_string: private static IChemObjectBuilder builder;
test_class.type: IChemObjectBuilder
test_class.var_name: builder
test_class.file: storage/ctab/src/test/java/org/openscience/cdk/io/MDLRXNWriterTest.java
test_class.identifier: MDLRXNWriterTest
test_class.superclass: extends ChemObjectIOTest
test_case.body: @Test
      public void testAccepts() throws Exception {
          MDLRXNWriter reader = new MDLRXNWriter();
          Assert.assertTrue(reader.accepts(Reaction.class));
      }
test_case.class_method_signature: MDLRXNWriterTest.testAccepts()
test_case.full_signature: @Test public void testAccepts()
test_case.identifier: testAccepts
test_case.invocations: assertTrue accepts
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAccepts()
focal_class.declarator: writer
focal_class.modifier: private
focal_class.original_string: private BufferedWriter      writer;
focal_class.type: BufferedWriter
focal_class.var_name: writer
focal_class.declarator: logger   = LoggingToolFactory.createLoggingTool(MDLRXNWriter.class)
focal_class.modifier: private static
focal_class.original_string: private static ILoggingTool logger   = LoggingToolFactory.createLoggingTool(MDLRXNWriter.class);
focal_class.type: ILoggingTool
focal_class.var_name: logger
focal_class.declarator: reactionNumber
focal_class.modifier: private
focal_class.original_string: private int                 reactionNumber;
focal_class.type: int
focal_class.var_name: reactionNumber
focal_class.declarator: rdFields = null
focal_class.modifier: public
focal_class.original_string: public Map<String, Object>  rdFields = null;
focal_class.type: Map<String, Object>
focal_class.var_name: rdFields
focal_class.file: storage/ctab/src/main/java/org/openscience/cdk/io/MDLRXNWriter.java
focal_class.identifier: MDLRXNWriter
focal_class.class_method_signature: MDLRXNWriter.MDLRXNWriter(Writer out)
focal_class.full_signature: public  MDLRXNWriter(Writer out)
focal_class.identifier: MDLRXNWriter
focal_class.modifiers: public
focal_class.parameters: (Writer out)
focal_class.signature:  MDLRXNWriter(Writer out)
focal_class.class_method_signature: MDLRXNWriter.MDLRXNWriter(OutputStream output)
focal_class.full_signature: public  MDLRXNWriter(OutputStream output)
focal_class.identifier: MDLRXNWriter
focal_class.modifiers: public
focal_class.parameters: (OutputStream output)
focal_class.signature:  MDLRXNWriter(OutputStream output)
focal_class.class_method_signature: MDLRXNWriter.MDLRXNWriter()
focal_class.full_signature: public  MDLRXNWriter()
focal_class.identifier: MDLRXNWriter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  MDLRXNWriter()
focal_class.class_method_signature: MDLRXNWriter.getFormat()
focal_class.full_signature: @Override public IResourceFormat getFormat()
focal_class.identifier: getFormat
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: IResourceFormat
focal_class.signature: IResourceFormat getFormat()
focal_class.class_method_signature: MDLRXNWriter.setWriter(Writer out)
focal_class.full_signature: @Override public void setWriter(Writer out)
focal_class.identifier: setWriter
focal_class.modifiers: @Override public
focal_class.parameters: (Writer out)
focal_class.return: void
focal_class.signature: void setWriter(Writer out)
focal_class.class_method_signature: MDLRXNWriter.setWriter(OutputStream output)
focal_class.full_signature: @Override public void setWriter(OutputStream output)
focal_class.identifier: setWriter
focal_class.modifiers: @Override public
focal_class.parameters: (OutputStream output)
focal_class.return: void
focal_class.signature: void setWriter(OutputStream output)
focal_class.class_method_signature: MDLRXNWriter.setRdFields(Map<String, Object> map)
focal_class.full_signature: public void setRdFields(Map<String, Object> map)
focal_class.identifier: setRdFields
focal_class.modifiers: public
focal_class.parameters: (Map<String, Object> map)
focal_class.return: void
focal_class.signature: void setRdFields(Map<String, Object> map)
focal_class.class_method_signature: MDLRXNWriter.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: MDLRXNWriter.accepts(Class<? extends IChemObject> classObject)
focal_class.full_signature: @Override public boolean accepts(Class<? extends IChemObject> classObject)
focal_class.identifier: accepts
focal_class.modifiers: @Override public
focal_class.parameters: (Class<? extends IChemObject> classObject)
focal_class.return: boolean
focal_class.signature: boolean accepts(Class<? extends IChemObject> classObject)
focal_class.class_method_signature: MDLRXNWriter.write(IChemObject object)
focal_class.full_signature: @Override public void write(IChemObject object)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (IChemObject object)
focal_class.return: void
focal_class.signature: void write(IChemObject object)
focal_class.class_method_signature: MDLRXNWriter.writeReactionSet(IReactionSet reactions)
focal_class.full_signature: private void writeReactionSet(IReactionSet reactions)
focal_class.identifier: writeReactionSet
focal_class.modifiers: private
focal_class.parameters: (IReactionSet reactions)
focal_class.return: void
focal_class.signature: void writeReactionSet(IReactionSet reactions)
focal_class.class_method_signature: MDLRXNWriter.writeReaction(IReaction reaction)
focal_class.full_signature: private void writeReaction(IReaction reaction)
focal_class.identifier: writeReaction
focal_class.modifiers: private
focal_class.parameters: (IReaction reaction)
focal_class.return: void
focal_class.signature: void writeReaction(IReaction reaction)
focal_class.class_method_signature: MDLRXNWriter.writeAtomContainerSet(IAtomContainerSet som)
focal_class.full_signature: private void writeAtomContainerSet(IAtomContainerSet som)
focal_class.identifier: writeAtomContainerSet
focal_class.modifiers: private
focal_class.parameters: (IAtomContainerSet som)
focal_class.return: void
focal_class.signature: void writeAtomContainerSet(IAtomContainerSet som)
focal_class.class_method_signature: MDLRXNWriter.formatMDLInt(int i, int l)
focal_class.full_signature: private String formatMDLInt(int i, int l)
focal_class.identifier: formatMDLInt
focal_class.modifiers: private
focal_class.parameters: (int i, int l)
focal_class.return: String
focal_class.signature: String formatMDLInt(int i, int l)
focal_class.superclass: extends DefaultChemObjectWriter
focal_method.body: @Override
      public boolean accepts(Class<? extends IChemObject> classObject) {
          if (IReaction.class.equals(classObject)) return true;
          if (IReactionSet.class.equals(classObject)) return true;
          Class<?>[] interfaces = classObject.getInterfaces();
          for (Class<?> anInterface : interfaces) {
              if (IReaction.class.equals(anInterface)) return true;
              if (IReactionSet.class.equals(anInterface)) return true;
          }
          Class superClass = classObject.getSuperclass();
          if (superClass != null) return this.accepts(superClass);
          return false;
      }
focal_method.class_method_signature: MDLRXNWriter.accepts(Class<? extends IChemObject> classObject)
focal_method.full_signature: @Override public boolean accepts(Class<? extends IChemObject> classObject)
focal_method.identifier: accepts
focal_method.invocations: equals equals getInterfaces equals equals getSuperclass accepts
focal_method.modifiers: @Override public
focal_method.parameters: (Class<? extends IChemObject> classObject)
focal_method.return: boolean
focal_method.signature: boolean accepts(Class<? extends IChemObject> classObject)