test_class.file: sisu-equinox/sisu-equinox-launching/src/test/java/org/eclipse/sisu/equinox/launching/internal/EquinoxLaunchConfigurationTest.java
test_class.identifier: EquinoxLaunchConfigurationTest
test_case.body: @Test
      public void testAddEnvironmentVariables() {
          EquinoxLaunchConfiguration config = new EquinoxLaunchConfiguration(null);
          Map<String, String> envVariables = new HashMap<>();
          envVariables.put("key1", "value1");
          envVariables.put("key2", null);
          config.addEnvironmentVariables(envVariables);
  
          Map<String, String> environment = config.getEnvironment();
          assertThat(environment.size(), equalTo(2));
          assertThat(environment.get("key1"), equalTo("value1"));
          assertThat(environment.get("key2"), equalTo(""));
      }
test_case.class_method_signature: EquinoxLaunchConfigurationTest.testAddEnvironmentVariables()
test_case.full_signature: @Test public void testAddEnvironmentVariables()
test_case.identifier: testAddEnvironmentVariables
test_case.invocations: put put addEnvironmentVariables getEnvironment assertThat size equalTo assertThat get equalTo assertThat get equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddEnvironmentVariables()
focal_class.declarator: jvmExecutable
focal_class.modifier: private
focal_class.original_string: private String jvmExecutable;
focal_class.type: String
focal_class.var_name: jvmExecutable
focal_class.declarator: workingDirectory
focal_class.modifier: private
focal_class.original_string: private File workingDirectory;
focal_class.type: File
focal_class.var_name: workingDirectory
focal_class.declarator: env = new LinkedHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, String> env = new LinkedHashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: env
focal_class.declarator: args = new ArrayList<>()
focal_class.modifier: private final
focal_class.original_string: private final List<Argument> args = new ArrayList<>();
focal_class.type: List<Argument>
focal_class.var_name: args
focal_class.declarator: vmargs = new ArrayList<>()
focal_class.modifier: private final
focal_class.original_string: private final List<Argument> vmargs = new ArrayList<>();
focal_class.type: List<Argument>
focal_class.var_name: vmargs
focal_class.declarator: installation
focal_class.modifier: private final
focal_class.original_string: private final EquinoxInstallation installation;
focal_class.type: EquinoxInstallation
focal_class.var_name: installation
focal_class.file: sisu-equinox/sisu-equinox-launching/src/main/java/org/eclipse/sisu/equinox/launching/internal/EquinoxLaunchConfiguration.java
focal_class.identifier: EquinoxLaunchConfiguration
focal_class.interfaces: implements LaunchConfiguration
focal_class.class_method_signature: EquinoxLaunchConfiguration.EquinoxLaunchConfiguration(EquinoxInstallation installation)
focal_class.full_signature: public  EquinoxLaunchConfiguration(EquinoxInstallation installation)
focal_class.identifier: EquinoxLaunchConfiguration
focal_class.modifiers: public
focal_class.parameters: (EquinoxInstallation installation)
focal_class.signature:  EquinoxLaunchConfiguration(EquinoxInstallation installation)
focal_class.class_method_signature: EquinoxLaunchConfiguration.addEnvironmentVariables(Map<String, String> variables)
focal_class.full_signature: public void addEnvironmentVariables(Map<String, String> variables)
focal_class.identifier: addEnvironmentVariables
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> variables)
focal_class.return: void
focal_class.signature: void addEnvironmentVariables(Map<String, String> variables)
focal_class.class_method_signature: EquinoxLaunchConfiguration.getEnvironment()
focal_class.full_signature: @Override public Map<String, String> getEnvironment()
focal_class.identifier: getEnvironment
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getEnvironment()
focal_class.class_method_signature: EquinoxLaunchConfiguration.setJvmExecutable(String jvmExecutable)
focal_class.full_signature: public void setJvmExecutable(String jvmExecutable)
focal_class.identifier: setJvmExecutable
focal_class.modifiers: public
focal_class.parameters: (String jvmExecutable)
focal_class.return: void
focal_class.signature: void setJvmExecutable(String jvmExecutable)
focal_class.class_method_signature: EquinoxLaunchConfiguration.getJvmExecutable()
focal_class.full_signature: @Override public String getJvmExecutable()
focal_class.identifier: getJvmExecutable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJvmExecutable()
focal_class.class_method_signature: EquinoxLaunchConfiguration.setWorkingDirectory(File workingDirectory)
focal_class.full_signature: public void setWorkingDirectory(File workingDirectory)
focal_class.identifier: setWorkingDirectory
focal_class.modifiers: public
focal_class.parameters: (File workingDirectory)
focal_class.return: void
focal_class.signature: void setWorkingDirectory(File workingDirectory)
focal_class.class_method_signature: EquinoxLaunchConfiguration.getWorkingDirectory()
focal_class.full_signature: @Override public File getWorkingDirectory()
focal_class.identifier: getWorkingDirectory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File getWorkingDirectory()
focal_class.class_method_signature: EquinoxLaunchConfiguration.addProgramArguments(String... args)
focal_class.full_signature: public void addProgramArguments(String... args)
focal_class.identifier: addProgramArguments
focal_class.modifiers: public
focal_class.parameters: (String... args)
focal_class.return: void
focal_class.signature: void addProgramArguments(String... args)
focal_class.class_method_signature: EquinoxLaunchConfiguration.addArguments(List<Argument> to, String... args)
focal_class.full_signature: private void addArguments(List<Argument> to, String... args)
focal_class.identifier: addArguments
focal_class.modifiers: private
focal_class.parameters: (List<Argument> to, String... args)
focal_class.return: void
focal_class.signature: void addArguments(List<Argument> to, String... args)
focal_class.class_method_signature: EquinoxLaunchConfiguration.getProgramArguments()
focal_class.full_signature: @Override public String[] getProgramArguments()
focal_class.identifier: getProgramArguments
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getProgramArguments()
focal_class.class_method_signature: EquinoxLaunchConfiguration.toStringArray(List<Argument> args)
focal_class.full_signature: private static String[] toStringArray(List<Argument> args)
focal_class.identifier: toStringArray
focal_class.modifiers: private static
focal_class.parameters: (List<Argument> args)
focal_class.return: String[]
focal_class.signature: String[] toStringArray(List<Argument> args)
focal_class.class_method_signature: EquinoxLaunchConfiguration.addVMArguments(String... vmargs)
focal_class.full_signature: public void addVMArguments(String... vmargs)
focal_class.identifier: addVMArguments
focal_class.modifiers: public
focal_class.parameters: (String... vmargs)
focal_class.return: void
focal_class.signature: void addVMArguments(String... vmargs)
focal_class.class_method_signature: EquinoxLaunchConfiguration.getVMArguments()
focal_class.full_signature: @Override public String[] getVMArguments()
focal_class.identifier: getVMArguments
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getVMArguments()
focal_class.class_method_signature: EquinoxLaunchConfiguration.getLauncherJar()
focal_class.full_signature: @Override public File getLauncherJar()
focal_class.identifier: getLauncherJar
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File getLauncherJar()
focal_method.body: public void addEnvironmentVariables(Map<String, String> variables) {
          for (String key : variables.keySet()) {
              String value = variables.get(key);
              env.put(key, (value != null) ? value : "");
          }
      }
focal_method.class_method_signature: EquinoxLaunchConfiguration.addEnvironmentVariables(Map<String, String> variables)
focal_method.full_signature: public void addEnvironmentVariables(Map<String, String> variables)
focal_method.identifier: addEnvironmentVariables
focal_method.invocations: keySet get put
focal_method.modifiers: public
focal_method.parameters: (Map<String, String> variables)
focal_method.return: void
focal_method.signature: void addEnvironmentVariables(Map<String, String> variables)