test_class.declarator: bundles
test_class.modifier: private
test_class.original_string: private Map<ArtifactKey, File> bundles;
test_class.type: Map<ArtifactKey, File>
test_class.var_name: bundles
test_class.declarator: instDesc
test_class.modifier: private
test_class.original_string: private DefaultEquinoxInstallationDescription instDesc;
test_class.type: DefaultEquinoxInstallationDescription
test_class.var_name: instDesc
test_class.declarator: defaultLevel
test_class.modifier: private
test_class.original_string: private BundleStartLevel defaultLevel;
test_class.type: BundleStartLevel
test_class.var_name: defaultLevel
test_class.declarator: subject
test_class.modifier: private
test_class.original_string: private DefaultEquinoxInstallationFactory subject;
test_class.type: DefaultEquinoxInstallationFactory
test_class.var_name: subject
test_class.file: sisu-equinox/sisu-equinox-launching/src/test/java/org/eclipse/sisu/equinox/launching/internal/DefaultEquinoxInstallationFactoryTest.java
test_class.identifier: DefaultEquinoxInstallationFactoryTest
test_case.body: @Test
      public void testDefaultStartLevelIsNotSet() throws Exception {
          List<String> config = splitAtComma(
                  subject.toOsgiBundles(bundles, instDesc.getBundleStartLevel(), defaultLevel));
          assertThat(config, hasItem("reference:file:absolute/path/to/bundle2")); // don't need @n here because this would be redundant
      }
test_case.class_method_signature: DefaultEquinoxInstallationFactoryTest.testDefaultStartLevelIsNotSet()
test_case.full_signature: @Test public void testDefaultStartLevelIsNotSet()
test_case.identifier: testDefaultStartLevelIsNotSet
test_case.invocations: splitAtComma toOsgiBundles getBundleStartLevel assertThat hasItem
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDefaultStartLevelIsNotSet()
focal_class.declarator: plexus
focal_class.modifier: @Requirement
      private
focal_class.original_string: @Requirement
      private PlexusContainer plexus;
focal_class.type: PlexusContainer
focal_class.var_name: plexus
focal_class.declarator: manifestReader
focal_class.modifier: @Requirement
      private
focal_class.original_string: @Requirement
      private BundleReader manifestReader;
focal_class.type: BundleReader
focal_class.var_name: manifestReader
focal_class.declarator: log
focal_class.modifier: @Requirement
      private
focal_class.original_string: @Requirement
      private Logger log;
focal_class.type: Logger
focal_class.var_name: log
focal_class.file: sisu-equinox/sisu-equinox-launching/src/main/java/org/eclipse/sisu/equinox/launching/internal/DefaultEquinoxInstallationFactory.java
focal_class.identifier: DefaultEquinoxInstallationFactory
focal_class.interfaces: implements EquinoxInstallationFactory
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.DefaultEquinoxInstallationFactory()
focal_class.full_signature: public  DefaultEquinoxInstallationFactory()
focal_class.identifier: DefaultEquinoxInstallationFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  DefaultEquinoxInstallationFactory()
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.DefaultEquinoxInstallationFactory(Logger log)
focal_class.full_signature:   DefaultEquinoxInstallationFactory(Logger log)
focal_class.identifier: DefaultEquinoxInstallationFactory
focal_class.parameters: (Logger log)
focal_class.signature:  DefaultEquinoxInstallationFactory(Logger log)
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.createInstallation(EquinoxInstallationDescription description, File location)
focal_class.full_signature: @Override public EquinoxInstallation createInstallation(EquinoxInstallationDescription description, File location)
focal_class.identifier: createInstallation
focal_class.modifiers: @Override public
focal_class.parameters: (EquinoxInstallationDescription description, File location)
focal_class.return: EquinoxInstallation
focal_class.signature: EquinoxInstallation createInstallation(EquinoxInstallationDescription description, File location)
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.createDevProperties(File location, Map<String, String> devEntries)
focal_class.full_signature: private String createDevProperties(File location, Map<String, String> devEntries)
focal_class.identifier: createDevProperties
focal_class.modifiers: private
focal_class.parameters: (File location, Map<String, String> devEntries)
focal_class.return: String
focal_class.signature: String createDevProperties(File location, Map<String, String> devEntries)
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.unpack(File source, File destination)
focal_class.full_signature: protected void unpack(File source, File destination)
focal_class.identifier: unpack
focal_class.modifiers: protected
focal_class.parameters: (File source, File destination)
focal_class.return: void
focal_class.signature: void unpack(File source, File destination)
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.unpackFrameworkExtensions(File location, Collection<File> frameworkExtensions)
focal_class.full_signature: private List<String> unpackFrameworkExtensions(File location, Collection<File> frameworkExtensions)
focal_class.identifier: unpackFrameworkExtensions
focal_class.modifiers: private
focal_class.parameters: (File location, Collection<File> frameworkExtensions)
focal_class.return: List<String>
focal_class.signature: List<String> unpackFrameworkExtensions(File location, Collection<File> frameworkExtensions)
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.copySystemBundle(EquinoxInstallationDescription description, File location)
focal_class.full_signature: private String copySystemBundle(EquinoxInstallationDescription description, File location)
focal_class.identifier: copySystemBundle
focal_class.modifiers: private
focal_class.parameters: (EquinoxInstallationDescription description, File location)
focal_class.return: String
focal_class.signature: String copySystemBundle(EquinoxInstallationDescription description, File location)
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.toOsgiBundles(Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)
focal_class.full_signature: protected String toOsgiBundles(Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)
focal_class.identifier: toOsgiBundles
focal_class.modifiers: protected
focal_class.parameters: (Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)
focal_class.return: String
focal_class.signature: String toOsgiBundles(Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)
focal_class.class_method_signature: DefaultEquinoxInstallationFactory.appendAbsolutePath(File file)
focal_class.full_signature: private String appendAbsolutePath(File file)
focal_class.identifier: appendAbsolutePath
focal_class.modifiers: private
focal_class.parameters: (File file)
focal_class.return: String
focal_class.signature: String appendAbsolutePath(File file)
focal_method.body: protected String toOsgiBundles(Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel) throws IOException {
          log.debug("Installation OSGI bundles:");
          StringBuilder result = new StringBuilder();
          for (Map.Entry<ArtifactKey, File> entry : bundles.entrySet()) {
              BundleStartLevel level = startLevel.get(entry.getKey().getId());
              if (level != null && level.getLevel() == -1) {
                  continue; // system bundle
              }
              if (result.length() > 0) {
                  result.append(",");
              }
  
              StringBuilder line = new StringBuilder();
              line.append(appendAbsolutePath(entry.getValue()));
              if (level != null) {
                  line.append('@');
                  if (level.getLevel() > 0) {
                      line.append(level.getLevel());
                  }
                  if (level.isAutoStart()) {
                      if (line.charAt(line.length() - 1) == '@') {
                          line.append("start");
                      } else {
                          line.append(":start");
                      }
                  }
              } else {
                  if (defaultStartLevel.isAutoStart()) {
                      line.append("@start");
                  }
              }
              log.debug("\t" + line);
              result.append(line.toString());
          }
          return result.toString();
      }
focal_method.class_method_signature: DefaultEquinoxInstallationFactory.toOsgiBundles(Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)
focal_method.full_signature: protected String toOsgiBundles(Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)
focal_method.identifier: toOsgiBundles
focal_method.invocations: debug entrySet get getId getKey getLevel length append append appendAbsolutePath getValue append getLevel append getLevel isAutoStart charAt length append append isAutoStart append debug append toString toString
focal_method.modifiers: protected
focal_method.parameters: (Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)
focal_method.return: String
focal_method.signature: String toOsgiBundles(Map<ArtifactKey, File> bundles, Map<String, BundleStartLevel> startLevel,
              BundleStartLevel defaultStartLevel)