test_class.file: storage/io/src/test/java/org/openscience/cdk/io/XYZWriterTest.java
test_class.identifier: XYZWriterTest
test_class.superclass: extends ChemObjectIOTest
test_case.body: @Test
      public void testAccepts() throws Exception {
          XYZWriter reader = new XYZWriter();
          Assert.assertTrue(reader.accepts(AtomContainer.class));
      }
test_case.class_method_signature: XYZWriterTest.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(XYZWriter.class)
focal_class.modifier: private static
focal_class.original_string: private static ILoggingTool logger = LoggingToolFactory.createLoggingTool(XYZWriter.class);
focal_class.type: ILoggingTool
focal_class.var_name: logger
focal_class.declarator: fsb
focal_class.modifier: private
focal_class.original_string: private FormatStringBuffer  fsb;
focal_class.type: FormatStringBuffer
focal_class.var_name: fsb
focal_class.file: storage/io/src/main/java/org/openscience/cdk/io/XYZWriter.java
focal_class.identifier: XYZWriter
focal_class.class_method_signature: XYZWriter.XYZWriter(Writer out)
focal_class.full_signature: public  XYZWriter(Writer out)
focal_class.identifier: XYZWriter
focal_class.modifiers: public
focal_class.parameters: (Writer out)
focal_class.signature:  XYZWriter(Writer out)
focal_class.class_method_signature: XYZWriter.XYZWriter(OutputStream output)
focal_class.full_signature: public  XYZWriter(OutputStream output)
focal_class.identifier: XYZWriter
focal_class.modifiers: public
focal_class.parameters: (OutputStream output)
focal_class.signature:  XYZWriter(OutputStream output)
focal_class.class_method_signature: XYZWriter.XYZWriter()
focal_class.full_signature: public  XYZWriter()
focal_class.identifier: XYZWriter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  XYZWriter()
focal_class.class_method_signature: XYZWriter.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: XYZWriter.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: XYZWriter.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: XYZWriter.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: XYZWriter.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: XYZWriter.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: XYZWriter.writeMolecule(IAtomContainer mol)
focal_class.full_signature: public void writeMolecule(IAtomContainer mol)
focal_class.identifier: writeMolecule
focal_class.modifiers: public
focal_class.parameters: (IAtomContainer mol)
focal_class.return: void
focal_class.signature: void writeMolecule(IAtomContainer mol)
focal_class.superclass: extends DefaultChemObjectWriter
focal_method.body: @Override
      public boolean accepts(Class<? extends IChemObject> classObject) {
          if (IAtomContainer.class.equals(classObject)) return true;
          Class<?>[] interfaces = classObject.getInterfaces();
          for (int i = 0; i < interfaces.length; i++) {
              if (IAtomContainer.class.equals(interfaces[i])) return true;
          }
          Class superClass = classObject.getSuperclass();
          if (superClass != null) return this.accepts(superClass);
          return false;
      }
focal_method.class_method_signature: XYZWriter.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 getInterfaces 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)