test_class.declarator: DEFAULT_NAME = "TestProfileName"
test_class.modifier: private static final
test_class.original_string: private static final String DEFAULT_NAME = "TestProfileName";
test_class.type: String
test_class.var_name: DEFAULT_NAME
test_class.declarator: SPECIFIC_LINUX_CONFIG = new ProfileName("specific-profile", "linux", "gtk",
              "x86_64")
test_class.modifier: private static final
test_class.original_string: private static final ProfileName SPECIFIC_LINUX_CONFIG = new ProfileName("specific-profile", "linux", "gtk",
              "x86_64");
test_class.type: ProfileName
test_class.var_name: SPECIFIC_LINUX_CONFIG
test_class.declarator: GENERAL_LINUX_CONFIG = new ProfileName("linux-profile", "linux", null, null)
test_class.modifier: private static final
test_class.original_string: private static final ProfileName GENERAL_LINUX_CONFIG = new ProfileName("linux-profile", "linux", null, null);
test_class.type: ProfileName
test_class.var_name: GENERAL_LINUX_CONFIG
test_class.declarator: LINUX_GTK_X86_64 = new TargetEnvironment("linux", "gtk", "x86_64")
test_class.modifier: private static final
test_class.original_string: private static final TargetEnvironment LINUX_GTK_X86_64 = new TargetEnvironment("linux", "gtk", "x86_64");
test_class.type: TargetEnvironment
test_class.var_name: LINUX_GTK_X86_64
test_class.declarator: WIN32_WIN32_X86_64 = new TargetEnvironment("win32", "win32", "x86_64")
test_class.modifier: private static final
test_class.original_string: private static final TargetEnvironment WIN32_WIN32_X86_64 = new TargetEnvironment("win32", "win32", "x86_64");
test_class.type: TargetEnvironment
test_class.var_name: WIN32_WIN32_X86_64
test_class.file: tycho-p2/tycho-p2-director-plugin/src/test/java/org/eclipse/tycho/plugins/p2/director/ProfileNameTest.java
test_class.identifier: ProfileNameTest
test_case.body: @Test
      public void testNoEnvironmentSpecificNames() throws Exception {
          assertThat(DEFAULT_NAME, is(ProfileName.getNameForEnvironment(LINUX_GTK_X86_64, null, DEFAULT_NAME)));
      }
test_case.class_method_signature: ProfileNameTest.testNoEnvironmentSpecificNames()
test_case.full_signature: @Test public void testNoEnvironmentSpecificNames()
test_case.identifier: testNoEnvironmentSpecificNames
test_case.invocations: assertThat is getNameForEnvironment
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNoEnvironmentSpecificNames()
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: os
focal_class.modifier: private
focal_class.original_string: private String os;
focal_class.type: String
focal_class.var_name: os
focal_class.declarator: ws
focal_class.modifier: private
focal_class.original_string: private String ws;
focal_class.type: String
focal_class.var_name: ws
focal_class.declarator: arch
focal_class.modifier: private
focal_class.original_string: private String arch;
focal_class.type: String
focal_class.var_name: arch
focal_class.file: tycho-p2/tycho-p2-director-plugin/src/main/java/org/eclipse/tycho/plugins/p2/director/ProfileName.java
focal_class.identifier: ProfileName
focal_class.class_method_signature: ProfileName.getName()
focal_class.full_signature: public String getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: ProfileName.getArch()
focal_class.full_signature: public String getArch()
focal_class.identifier: getArch
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getArch()
focal_class.class_method_signature: ProfileName.getOs()
focal_class.full_signature: public String getOs()
focal_class.identifier: getOs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getOs()
focal_class.class_method_signature: ProfileName.getWs()
focal_class.full_signature: public String getWs()
focal_class.identifier: getWs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getWs()
focal_class.class_method_signature: ProfileName.ProfileName()
focal_class.full_signature: public  ProfileName()
focal_class.identifier: ProfileName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ProfileName()
focal_class.class_method_signature: ProfileName.ProfileName(String name)
focal_class.full_signature: public  ProfileName(String name)
focal_class.identifier: ProfileName
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.signature:  ProfileName(String name)
focal_class.class_method_signature: ProfileName.ProfileName(String name, String os, String ws, String arch)
focal_class.full_signature: public  ProfileName(String name, String os, String ws, String arch)
focal_class.identifier: ProfileName
focal_class.modifiers: public
focal_class.parameters: (String name, String os, String ws, String arch)
focal_class.signature:  ProfileName(String name, String os, String ws, String arch)
focal_class.class_method_signature: ProfileName.getNameForEnvironment(TargetEnvironment env, List<ProfileName> nameMap, String defaultName)
focal_class.full_signature: public static String getNameForEnvironment(TargetEnvironment env, List<ProfileName> nameMap, String defaultName)
focal_class.identifier: getNameForEnvironment
focal_class.modifiers: public static
focal_class.parameters: (TargetEnvironment env, List<ProfileName> nameMap, String defaultName)
focal_class.return: String
focal_class.signature: String getNameForEnvironment(TargetEnvironment env, List<ProfileName> nameMap, String defaultName)
focal_method.body: public static String getNameForEnvironment(TargetEnvironment env, List<ProfileName> nameMap, String defaultName) {
          if (nameMap != null) {
              for (ProfileName profileWithEnvironment : nameMap) {
                  // first match always wins
                  if (env.match(profileWithEnvironment.getOs(), profileWithEnvironment.getWs(),
                          profileWithEnvironment.getArch())) {
                      return profileWithEnvironment.getName();
                  }
              }
          }
          return defaultName;
      }
focal_method.class_method_signature: ProfileName.getNameForEnvironment(TargetEnvironment env, List<ProfileName> nameMap, String defaultName)
focal_method.full_signature: public static String getNameForEnvironment(TargetEnvironment env, List<ProfileName> nameMap, String defaultName)
focal_method.identifier: getNameForEnvironment
focal_method.invocations: match getOs getWs getArch getName
focal_method.modifiers: public static
focal_method.parameters: (TargetEnvironment env, List<ProfileName> nameMap, String defaultName)
focal_method.return: String
focal_method.signature: String getNameForEnvironment(TargetEnvironment env, List<ProfileName> nameMap, String defaultName)