test_class.declarator: junit4InTP
test_class.modifier: private static
test_class.original_string: private static ArtifactKey junit4InTP;
test_class.type: ArtifactKey
test_class.var_name: junit4InTP
test_class.declarator: hamcrestInTP
test_class.modifier: private static
test_class.original_string: private static ArtifactKey hamcrestInTP;
test_class.type: ArtifactKey
test_class.var_name: hamcrestInTP
test_class.declarator: subject
test_class.modifier: private
test_class.original_string: private IUXmlTransformer subject;
test_class.type: IUXmlTransformer
test_class.var_name: subject
test_class.file: tycho-packaging-plugin/src/test/java/org/eclipse/tycho/packaging/IUXmlTransformerTest.java
test_class.identifier: IUXmlTransformerTest
test_case.body: @Test
      public void testExpandVersion() throws Exception {
          subject = new IUXmlTransformer();
          IU iu = IU.read(new File(TestUtil.getBasedir("projects/iuXmlValueReplacement/"), "p2iu.xml"));
  
          subject.replaceSelfQualifiers(iu, "1.0.0.ABC", "ABC");
          assertEquals(iu.getVersion(), "1.0.0.ABC");
          assertThat(iu.getProvidedCapabilites(), hasItem(capability("demo.iu", "1.0.0.ABC")));
          assertThat(iu.getArtifacts(), hasItem(artifact("demo.iu", "1.0.0.ABC")));
      }
test_case.class_method_signature: IUXmlTransformerTest.testExpandVersion()
test_case.full_signature: @Test public void testExpandVersion()
test_case.identifier: testExpandVersion
test_case.invocations: read getBasedir replaceSelfQualifiers assertEquals getVersion assertThat getProvidedCapabilites hasItem capability assertThat getArtifacts hasItem artifact
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExpandVersion()
focal_class.declarator: MAVEN_ARTIFACT_ID = "maven-artifactId"
focal_class.modifier: private static final
focal_class.original_string: private static final String MAVEN_ARTIFACT_ID = "maven-artifactId";
focal_class.type: String
focal_class.var_name: MAVEN_ARTIFACT_ID
focal_class.declarator: MAVEN_VERSION = "maven-version"
focal_class.modifier: private static final
focal_class.original_string: private static final String MAVEN_VERSION = "maven-version";
focal_class.type: String
focal_class.var_name: MAVEN_VERSION
focal_class.declarator: MAVEN_GROUP_ID = "maven-groupId"
focal_class.modifier: private static final
focal_class.original_string: private static final String MAVEN_GROUP_ID = "maven-groupId";
focal_class.type: String
focal_class.var_name: MAVEN_GROUP_ID
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: tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/IUXmlTransformer.java
focal_class.identifier: IUXmlTransformer
focal_class.class_method_signature: IUXmlTransformer.IUXmlTransformer()
focal_class.full_signature: public  IUXmlTransformer()
focal_class.identifier: IUXmlTransformer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  IUXmlTransformer()
focal_class.class_method_signature: IUXmlTransformer.IUXmlTransformer(Logger log)
focal_class.full_signature: public  IUXmlTransformer(Logger log)
focal_class.identifier: IUXmlTransformer
focal_class.modifiers: public
focal_class.parameters: (Logger log)
focal_class.signature:  IUXmlTransformer(Logger log)
focal_class.class_method_signature: IUXmlTransformer.replaceSelfQualifiers(IU iu, String version, String qualifier)
focal_class.full_signature: public void replaceSelfQualifiers(IU iu, String version, String qualifier)
focal_class.identifier: replaceSelfQualifiers
focal_class.modifiers: public
focal_class.parameters: (IU iu, String version, String qualifier)
focal_class.return: void
focal_class.signature: void replaceSelfQualifiers(IU iu, String version, String qualifier)
focal_class.class_method_signature: IUXmlTransformer.replaceSelfVersionInArtifact(IU iu, String version)
focal_class.full_signature: private void replaceSelfVersionInArtifact(IU iu, String version)
focal_class.identifier: replaceSelfVersionInArtifact
focal_class.modifiers: private
focal_class.parameters: (IU iu, String version)
focal_class.return: void
focal_class.signature: void replaceSelfVersionInArtifact(IU iu, String version)
focal_class.class_method_signature: IUXmlTransformer.replaceQualifierInCapabilities(List<Element> providedCapabilities, String qualifier)
focal_class.full_signature: public void replaceQualifierInCapabilities(List<Element> providedCapabilities, String qualifier)
focal_class.identifier: replaceQualifierInCapabilities
focal_class.modifiers: public
focal_class.parameters: (List<Element> providedCapabilities, String qualifier)
focal_class.return: void
focal_class.signature: void replaceQualifierInCapabilities(List<Element> providedCapabilities, String qualifier)
focal_class.class_method_signature: IUXmlTransformer.hasQualifier(String v)
focal_class.full_signature: private boolean hasQualifier(String v)
focal_class.identifier: hasQualifier
focal_class.modifiers: private
focal_class.parameters: (String v)
focal_class.return: boolean
focal_class.signature: boolean hasQualifier(String v)
focal_class.class_method_signature: IUXmlTransformer.replaceQualifierInRequirements(IU iu, TargetPlatform targetPlatform)
focal_class.full_signature: public void replaceQualifierInRequirements(IU iu, TargetPlatform targetPlatform)
focal_class.identifier: replaceQualifierInRequirements
focal_class.modifiers: public
focal_class.parameters: (IU iu, TargetPlatform targetPlatform)
focal_class.return: void
focal_class.signature: void replaceQualifierInRequirements(IU iu, TargetPlatform targetPlatform)
focal_class.class_method_signature: IUXmlTransformer.replaceZerosInRequirements(IU iu, TargetPlatform targetPlatform)
focal_class.full_signature: public void replaceZerosInRequirements(IU iu, TargetPlatform targetPlatform)
focal_class.identifier: replaceZerosInRequirements
focal_class.modifiers: public
focal_class.parameters: (IU iu, TargetPlatform targetPlatform)
focal_class.return: void
focal_class.signature: void replaceZerosInRequirements(IU iu, TargetPlatform targetPlatform)
focal_class.class_method_signature: IUXmlTransformer.resolveRequirementReference(TargetPlatform targetPlatform, String name, String version,
              String xml)
focal_class.full_signature: private ArtifactKey resolveRequirementReference(TargetPlatform targetPlatform, String name, String version,
              String xml)
focal_class.identifier: resolveRequirementReference
focal_class.modifiers: private
focal_class.parameters: (TargetPlatform targetPlatform, String name, String version,
              String xml)
focal_class.return: ArtifactKey
focal_class.signature: ArtifactKey resolveRequirementReference(TargetPlatform targetPlatform, String name, String version,
              String xml)
focal_class.class_method_signature: IUXmlTransformer.injectMavenProperties(IU iu, MavenProject project)
focal_class.full_signature: public void injectMavenProperties(IU iu, MavenProject project)
focal_class.identifier: injectMavenProperties
focal_class.modifiers: public
focal_class.parameters: (IU iu, MavenProject project)
focal_class.return: void
focal_class.signature: void injectMavenProperties(IU iu, MavenProject project)
focal_class.class_method_signature: IUXmlTransformer.addSelfCapability(IU iu)
focal_class.full_signature: public void addSelfCapability(IU iu)
focal_class.identifier: addSelfCapability
focal_class.modifiers: public
focal_class.parameters: (IU iu)
focal_class.return: void
focal_class.signature: void addSelfCapability(IU iu)
focal_method.body: public void replaceSelfQualifiers(IU iu, String version, String qualifier) {
          iu.setVersion(version);
          replaceSelfVersionInArtifact(iu, version);
          replaceQualifierInCapabilities(iu.getSelfCapabilities(), qualifier);
      }
focal_method.class_method_signature: IUXmlTransformer.replaceSelfQualifiers(IU iu, String version, String qualifier)
focal_method.full_signature: public void replaceSelfQualifiers(IU iu, String version, String qualifier)
focal_method.identifier: replaceSelfQualifiers
focal_method.invocations: setVersion replaceSelfVersionInArtifact replaceQualifierInCapabilities getSelfCapabilities
focal_method.modifiers: public
focal_method.parameters: (IU iu, String version, String qualifier)
focal_method.return: void
focal_method.signature: void replaceSelfQualifiers(IU iu, String version, String qualifier)