test_class.declarator: logger = LoggingToolFactory.createLoggingTool(RGroupQueryReaderTest.class)
test_class.modifier: private static
test_class.original_string: private static ILoggingTool logger = LoggingToolFactory.createLoggingTool(RGroupQueryReaderTest.class);
test_class.type: ILoggingTool
test_class.var_name: logger
test_class.file: storage/ctab/src/test/java/org/openscience/cdk/io/RGroupQueryReaderTest.java
test_class.identifier: RGroupQueryReaderTest
test_class.superclass: extends SimpleChemObjectReaderTest
test_case.body: @Test
      public void testAccepts() {
          RGroupQueryReader reader = new RGroupQueryReader();
          Assert.assertFalse(reader.accepts(AtomContainer.class));
          Assert.assertTrue(reader.accepts(RGroupQuery.class));
      }
test_case.class_method_signature: RGroupQueryReaderTest.testAccepts()
test_case.full_signature: @Test public void testAccepts()
test_case.identifier: testAccepts
test_case.invocations: assertFalse accepts assertTrue accepts
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAccepts()
focal_class.declarator: input  = null
focal_class.original_string: BufferedReader              input  = null;
focal_class.type: BufferedReader
focal_class.var_name: input
focal_class.declarator: logger = LoggingToolFactory.createLoggingTool(RGroupQueryReader.class)
focal_class.modifier: private static
focal_class.original_string: private static ILoggingTool logger = LoggingToolFactory.createLoggingTool(RGroupQueryReader.class);
focal_class.type: ILoggingTool
focal_class.var_name: logger
focal_class.file: storage/ctab/src/main/java/org/openscience/cdk/io/RGroupQueryReader.java
focal_class.identifier: RGroupQueryReader
focal_class.class_method_signature: RGroupQueryReader.RGroupQueryReader()
focal_class.full_signature: public  RGroupQueryReader()
focal_class.identifier: RGroupQueryReader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RGroupQueryReader()
focal_class.class_method_signature: RGroupQueryReader.RGroupQueryReader(InputStream in)
focal_class.full_signature: public  RGroupQueryReader(InputStream in)
focal_class.identifier: RGroupQueryReader
focal_class.modifiers: public
focal_class.parameters: (InputStream in)
focal_class.signature:  RGroupQueryReader(InputStream in)
focal_class.class_method_signature: RGroupQueryReader.RGroupQueryReader(Reader in)
focal_class.full_signature: public  RGroupQueryReader(Reader in)
focal_class.identifier: RGroupQueryReader
focal_class.modifiers: public
focal_class.parameters: (Reader in)
focal_class.signature:  RGroupQueryReader(Reader in)
focal_class.class_method_signature: RGroupQueryReader.setReader(Reader input)
focal_class.full_signature: @Override public void setReader(Reader input)
focal_class.identifier: setReader
focal_class.modifiers: @Override public
focal_class.parameters: (Reader input)
focal_class.return: void
focal_class.signature: void setReader(Reader input)
focal_class.class_method_signature: RGroupQueryReader.setReader(InputStream input)
focal_class.full_signature: @Override public void setReader(InputStream input)
focal_class.identifier: setReader
focal_class.modifiers: @Override public
focal_class.parameters: (InputStream input)
focal_class.return: void
focal_class.signature: void setReader(InputStream input)
focal_class.class_method_signature: RGroupQueryReader.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: RGroupQueryReader.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: RGroupQueryReader.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: RGroupQueryReader.read(T object)
focal_class.full_signature: @Override public T read(T object)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (T object)
focal_class.return: T
focal_class.signature: T read(T object)
focal_class.class_method_signature: RGroupQueryReader.parseRGFile(RGroupQuery rGroupQuery)
focal_class.full_signature: private RGroupQuery parseRGFile(RGroupQuery rGroupQuery)
focal_class.identifier: parseRGFile
focal_class.modifiers: private
focal_class.parameters: (RGroupQuery rGroupQuery)
focal_class.return: RGroupQuery
focal_class.signature: RGroupQuery parseRGFile(RGroupQuery rGroupQuery)
focal_class.class_method_signature: RGroupQueryReader.checkLineBeginsWith(String line, String expect, int lineCount)
focal_class.full_signature: private void checkLineBeginsWith(String line, String expect, int lineCount)
focal_class.identifier: checkLineBeginsWith
focal_class.modifiers: private
focal_class.parameters: (String line, String expect, int lineCount)
focal_class.return: void
focal_class.signature: void checkLineBeginsWith(String line, String expect, int lineCount)
focal_class.superclass: extends DefaultChemObjectReader
focal_method.body: @Override
      public boolean accepts(Class<? extends IChemObject> classObject) {
          Class<?>[] interfaces = classObject.getInterfaces();
          for (Class<?> anInterface : interfaces) {
              if (IRGroupQuery.class.equals(anInterface)) return true;
          }
          Class superClass = classObject.getSuperclass();
          if (superClass != null) return this.accepts(superClass);
          return false;
      }
focal_method.class_method_signature: RGroupQueryReader.accepts(Class<? extends IChemObject> classObject)
focal_method.full_signature: @Override public boolean accepts(Class<? extends IChemObject> classObject)
focal_method.identifier: accepts
focal_method.invocations: 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)