{"action":"created","comment":{"url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/comments/65533995","id":65533995,"diff_hunk":"@@ -0,0 +1,318 @@\n+/*\n+ * SonarQube Java\n+ * Copyright (C) 2012-2016 SonarSource SA\n+ * mailto:contact AT sonarsource DOT com\n+ *\n+ * This program is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU Lesser General Public\n+ * License as published by the Free Software Foundation; either\n+ * version 3 of the License, or (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+ * Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public License\n+ * along with this program; if not, write to the Free Software Foundation,\n+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+ */\n+package org.sonar.java.resolve;\n+\n+import com.google.common.annotations.VisibleForTesting;\n+import com.google.common.base.Preconditions;\n+import com.google.common.collect.HashMultimap;\n+import com.google.common.collect.Lists;\n+import com.google.common.collect.Multimap;\n+import com.google.common.collect.Sets;\n+\n+import org.sonar.plugins.java.api.semantic.Symbol;\n+import org.sonar.plugins.java.api.semantic.Type;\n+\n+import java.util.ArrayList;\n+import java.util.Collection;\n+import java.util.Collections;\n+import java.util.HashSet;\n+import java.util.Iterator;\n+import java.util.LinkedHashSet;\n+import java.util.List;\n+import java.util.Set;\n+import java.util.stream.Collectors;\n+\n+public class LeastUpperBound {\n+\n+  private final Symbols symbols;\n+  private final ParametrizedTypeCache parametrizedTypeCache;\n+  private final TypeSubstitutionSolver typeSubstitutionSolver;\n+  private final Set<Set<Type>> lubCache = new HashSet<>();\n+\n+  public LeastUpperBound(TypeSubstitutionSolver typeSubstitutionSolver, ParametrizedTypeCache parametrizedTypeCache, Symbols symbols) {\n+    this.symbols = symbols;\n+    this.parametrizedTypeCache = parametrizedTypeCache;\n+    this.typeSubstitutionSolver = typeSubstitutionSolver;\n+  }\n+\n+  /**\n+   * Compute the \"Least Upper Bound\" (\"lub\", jls8 §4.10.4) of a list of type. The \"lub\" is a shared supertype that is more specific than any\n+   * other shared supertype (that is, no other shared supertype is a subtype of the least upper bound)\n+   *\n+   * Parameterized types are currently ignored, as the method is used only to handle Union Types Trees, themselves being used only\n+   * in catch trees. Note that Exceptions (any subclass of Throwable) cannot be generic (jls8 §8.1.2, §11.1.1: \"compile-time error if a generic\n+   * class is a direct or indirect subclass of Throwable\")\n+   *\n+   * @param types\n+   * @return the least upper bound of the types\n+   */\n+  public Type leastUpperBound(Set<Type> types) {\n+    Type lub = cachedLeastUpperBound(types);\n+    lubCache.clear();\n+    return lub;\n+  }\n+\n+  private Type cachedLeastUpperBound(Set<Type> types) {\n+    Preconditions.checkArgument(!types.isEmpty());\n+\n+    Iterator<Type> iterator = types.iterator();\n+    Type first = iterator.next();\n+    // lub(U) = U\n+    if (types.size() == 1) {\n+      return first;\n+    }\n+\n+    List<Set<Type>> supertypes = supertypes(types);\n+    List<Set<Type>> erasedSupertypes = erased(supertypes);\n+\n+    List<Type> erasedCandidates = intersection(erasedSupertypes);\n+    List<Type> minimalErasedCandidates = minimalCandidates(erasedCandidates);\n+    if (minimalErasedCandidates.isEmpty()) {\n+      return Symbols.unknownType;\n+    }\n+\n+    Multimap<Type, Type> relevantParameterizations = relevantParameterizations(minimalErasedCandidates, supertypes);\n+\n+    Type erasedBest = best(minimalErasedCandidates);\n+\n+    Collection<Type> erasedTypeParameterizations = relevantParameterizations.get(erasedBest);\n+    if (erasedTypeParameterizations != null && !erasedTypeParameterizations.contains(erasedBest)) {\n+      Set<Type> searchedTypes = new HashSet<>(types);\n+      // if we already encountered these types in LUB calculation,\n+      // we interrupt calculation and use the erasure of the parameterized type instead\n+      if (!lubCache.contains(searchedTypes)) {\n+        lubCache.add(searchedTypes);\n+        return leastContainingParameterization(new ArrayList<>(erasedTypeParameterizations));\n+      }\n+    }\n+    return erasedBest;\n+\n+  }\n+\n+  private List<Set<Type>> supertypes(Collection<Type> types) {\n+    return types.stream()\n+      .map(type -> supertypes((JavaType) type).stream().collect(Collectors.toCollection(LinkedHashSet::new)))\n+      .collect(Collectors.toList());\n+  }\n+\n+  @VisibleForTesting\n+  Set<Type> supertypes(JavaType type) {\n+    List<Type> result = new ArrayList<>();\n+    result.add(type);\n+\n+    Symbol.TypeSymbol symbol = type.symbol();\n+    TypeSubstitution substitution = getTypeSubstitution(type);\n+\n+    result.addAll(interfacesWithSubstitution(symbol, substitution));\n+\n+    Type superClass = symbol.superClass();\n+    while (superClass != null) {\n+      JavaType substitutedSuperClass = applySubstitution(superClass, substitution);\n+\n+      result.add(substitutedSuperClass);\n+      substitution = getTypeSubstitution(substitutedSuperClass);\n+\n+      JavaSymbol.TypeJavaSymbol superClassSymbol = substitutedSuperClass.getSymbol();\n+      result.addAll(interfacesWithSubstitution(superClassSymbol, substitution));\n+\n+      superClass = superClassSymbol.superClass();\n+    }\n+    return new LinkedHashSet<>(result);\n+  }\n+\n+  private Set<Type> interfacesWithSubstitution(Symbol.TypeSymbol symbol, TypeSubstitution substitution) {\n+    return symbol.interfaces().stream()\n+      .map(interfaceType -> applySubstitution(interfaceType, substitution))\n+      .flatMap(substitutedInterfaceType -> supertypes(substitutedInterfaceType).stream())\n+      .collect(Collectors.toSet());\n+  }\n+\n+  private static TypeSubstitution getTypeSubstitution(JavaType type) {\n+    return type.isTagged(JavaType.PARAMETERIZED) ? ((ParametrizedTypeJavaType) type).typeSubstitution : new TypeSubstitution();\n+  }\n+\n+  private JavaType applySubstitution(Type type, TypeSubstitution substitution) {\n+    return typeSubstitutionSolver.applySubstitution((JavaType) type, substitution);\n+  }\n+\n+  private static List<Set<Type>> erased(List<Set<Type>> typeSets) {\n+    return typeSets.stream().map(set -> set.stream().map(type -> type.erasure()).collect(Collectors.toCollection(LinkedHashSet::new))).collect(Collectors.toList());\n+  }\n+\n+  private static List<Type> intersection(List<Set<Type>> supertypes) {\n+    return new ArrayList<>(supertypes.stream().reduce(supertypes.get(0), (a, b) -> {\n+      a.retainAll(b);","path":"java-frontend/src/main/java/org/sonar/java/resolve/LeastUpperBound.java","position":161,"original_position":161,"commit_id":"b7eb9dd837be601c12c844368e1ba0ac68f349ef","original_commit_id":"b7eb9dd837be601c12c844368e1ba0ac68f349ef","user":{"login":"SonarTech","id":1842438,"avatar_url":"https://avatars.githubusercontent.com/u/1842438?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarTech","html_url":"https://github.com/SonarTech","followers_url":"https://api.github.com/users/SonarTech/followers","following_url":"https://api.github.com/users/SonarTech/following{/other_user}","gists_url":"https://api.github.com/users/SonarTech/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarTech/subscriptions","organizations_url":"https://api.github.com/users/SonarTech/orgs","repos_url":"https://api.github.com/users/SonarTech/repos","events_url":"https://api.github.com/users/SonarTech/events{/privacy}","received_events_url":"https://api.github.com/users/SonarTech/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Unknown method [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://dory.sonarsource.com/sonarqube/coding_rules#rule_key=java-debugging-rules%3AUnknownMethodInvocation)\n","created_at":"2016-06-02T12:59:39Z","updated_at":"2016-06-02T12:59:39Z","html_url":"https://github.com/SonarSource/sonar-java/pull/841#discussion_r65533995","pull_request_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841","_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/comments/65533995"},"html":{"href":"https://github.com/SonarSource/sonar-java/pull/841#discussion_r65533995"},"pull_request":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841"}}},"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841","id":71581715,"html_url":"https://github.com/SonarSource/sonar-java/pull/841","diff_url":"https://github.com/SonarSource/sonar-java/pull/841.diff","patch_url":"https://github.com/SonarSource/sonar-java/pull/841.patch","issue_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/841","number":841,"state":"open","locked":false,"title":"SONARJAVA-1699 Handle inference in complex varargs","user":{"login":"m-g-sonar","id":10588758,"avatar_url":"https://avatars.githubusercontent.com/u/10588758?v=3","gravatar_id":"","url":"https://api.github.com/users/m-g-sonar","html_url":"https://github.com/m-g-sonar","followers_url":"https://api.github.com/users/m-g-sonar/followers","following_url":"https://api.github.com/users/m-g-sonar/following{/other_user}","gists_url":"https://api.github.com/users/m-g-sonar/gists{/gist_id}","starred_url":"https://api.github.com/users/m-g-sonar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-g-sonar/subscriptions","organizations_url":"https://api.github.com/users/m-g-sonar/orgs","repos_url":"https://api.github.com/users/m-g-sonar/repos","events_url":"https://api.github.com/users/m-g-sonar/events{/privacy}","received_events_url":"https://api.github.com/users/m-g-sonar/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-26T16:03:26Z","updated_at":"2016-06-02T12:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a90304b012abd1a1b3a301607394318d3e6ead55","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841/commits","review_comments_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841/comments","review_comment_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/841/comments","statuses_url":"https://api.github.com/repos/SonarSource/sonar-java/statuses/b7eb9dd837be601c12c844368e1ba0ac68f349ef","head":{"label":"SonarSource:SONARJAVA-1699","ref":"SONARJAVA-1699","sha":"b7eb9dd837be601c12c844368e1ba0ac68f349ef","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":5674787,"name":"sonar-java","full_name":"SonarSource/sonar-java","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonar-java","description":":coffee: SonarQube Java language plugin","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-java","forks_url":"https://api.github.com/repos/SonarSource/sonar-java/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-java/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-java/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-java/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-java/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-java/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-java/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-java/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-java/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-java/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-java/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-java/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-java/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-java/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-java/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-java/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-java/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-java/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-java/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-java/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonar-java/deployments","created_at":"2012-09-04T15:53:13Z","updated_at":"2016-06-01T13:47:54Z","pushed_at":"2016-06-02T12:42:22Z","git_url":"git://github.com/SonarSource/sonar-java.git","ssh_url":"git@github.com:SonarSource/sonar-java.git","clone_url":"https://github.com/SonarSource/sonar-java.git","svn_url":"https://github.com/SonarSource/sonar-java","homepage":"","size":29105,"stargazers_count":100,"watchers_count":100,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":9,"forks":126,"open_issues":9,"watchers":100,"default_branch":"master"}},"base":{"label":"SonarSource:master","ref":"master","sha":"d13380d0d1660eddeeb29e885e984f1c4372eaa8","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":5674787,"name":"sonar-java","full_name":"SonarSource/sonar-java","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars.githubusercontent.com/u/545988?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonar-java","description":":coffee: SonarQube Java language plugin","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-java","forks_url":"https://api.github.com/repos/SonarSource/sonar-java/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-java/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-java/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-java/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-java/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-java/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-java/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-java/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-java/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-java/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-java/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-java/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-java/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-java/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-java/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-java/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-java/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-java/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-java/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-java/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-java/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonar-java/deployments","created_at":"2012-09-04T15:53:13Z","updated_at":"2016-06-01T13:47:54Z","pushed_at":"2016-06-02T12:42:22Z","git_url":"git://github.com/SonarSource/sonar-java.git","ssh_url":"git@github.com:SonarSource/sonar-java.git","clone_url":"https://github.com/SonarSource/sonar-java.git","svn_url":"https://github.com/SonarSource/sonar-java","homepage":"","size":29105,"stargazers_count":100,"watchers_count":100,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":9,"forks":126,"open_issues":9,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841"},"html":{"href":"https://github.com/SonarSource/sonar-java/pull/841"},"issue":{"href":"https://api.github.com/repos/SonarSource/sonar-java/issues/841"},"comments":{"href":"https://api.github.com/repos/SonarSource/sonar-java/issues/841/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/sonar-java/pulls/841/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/sonar-java/statuses/b7eb9dd837be601c12c844368e1ba0ac68f349ef"}}}}
{"actor":{"display_login":"SonarTech"}}