test_class.declarator: generator
test_class.modifier: private
test_class.original_string: private BoundsGenerator generator;
test_class.type: BoundsGenerator
test_class.var_name: generator
test_class.file: display/renderextra/src/test/java/org/openscience/cdk/renderer/generators/BoundsGeneratorTest.java
test_class.identifier: BoundsGeneratorTest
test_class.superclass: extends AbstractGeneratorTest
test_case.body: @Test
      public void testEmptyReaction() {
          IReaction emptyReaction = super.builder.newInstance(IReaction.class);
  
          // nothing should be made
          IRenderingElement root = generator.generate(emptyReaction, model);
          List<IRenderingElement> elements = elementUtil.getAllSimpleElements(root);
          Assert.assertEquals(2, elements.size());
      }
test_case.class_method_signature: BoundsGeneratorTest.testEmptyReaction()
test_case.full_signature: @Test public void testEmptyReaction()
test_case.identifier: testEmptyReaction
test_case.invocations: newInstance generate getAllSimpleElements assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEmptyReaction()
focal_class.declarator: boundsColor = new BoundsColor()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Color> boundsColor = new BoundsColor();
focal_class.type: IGeneratorParameter<Color>
focal_class.var_name: boundsColor
focal_class.file: display/renderextra/src/main/java/org/openscience/cdk/renderer/generators/BoundsGenerator.java
focal_class.identifier: BoundsGenerator
focal_class.interfaces: implements IGenerator<IReaction>
focal_class.class_method_signature: BoundsGenerator.BoundsGenerator()
focal_class.full_signature: public  BoundsGenerator()
focal_class.identifier: BoundsGenerator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  BoundsGenerator()
focal_class.class_method_signature: BoundsGenerator.generate(IReaction reaction, RendererModel model)
focal_class.full_signature: @Override public IRenderingElement generate(IReaction reaction, RendererModel model)
focal_class.identifier: generate
focal_class.modifiers: @Override public
focal_class.parameters: (IReaction reaction, RendererModel model)
focal_class.return: IRenderingElement
focal_class.signature: IRenderingElement generate(IReaction reaction, RendererModel model)
focal_class.class_method_signature: BoundsGenerator.generate(IAtomContainerSet moleculeSet)
focal_class.full_signature: private IRenderingElement generate(IAtomContainerSet moleculeSet)
focal_class.identifier: generate
focal_class.modifiers: private
focal_class.parameters: (IAtomContainerSet moleculeSet)
focal_class.return: IRenderingElement
focal_class.signature: IRenderingElement generate(IAtomContainerSet moleculeSet)
focal_class.class_method_signature: BoundsGenerator.getParameters()
focal_class.full_signature: @Override public List<IGeneratorParameter<?>> getParameters()
focal_class.identifier: getParameters
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<IGeneratorParameter<?>>
focal_class.signature: List<IGeneratorParameter<?>> getParameters()
focal_method.body: @Override
      public IRenderingElement generate(IReaction reaction, RendererModel model) {
          ElementGroup elementGroup = new ElementGroup();
          IAtomContainerSet reactants = reaction.getReactants();
          if (reactants != null) {
              elementGroup.add(this.generate(reactants));
          }
  
          IAtomContainerSet products = reaction.getProducts();
          if (products != null) {
              elementGroup.add(this.generate(products));
          }
  
          return elementGroup;
      }
focal_method.class_method_signature: BoundsGenerator.generate(IReaction reaction, RendererModel model)
focal_method.full_signature: @Override public IRenderingElement generate(IReaction reaction, RendererModel model)
focal_method.identifier: generate
focal_method.invocations: getReactants add generate getProducts add generate
focal_method.modifiers: @Override public
focal_method.parameters: (IReaction reaction, RendererModel model)
focal_method.return: IRenderingElement
focal_method.signature: IRenderingElement generate(IReaction reaction, RendererModel model)