[Java/cpp]: Added semanticVersion to IR.