com.google.common.collect.ImmutableMap



API Populatity

93 Client projects

Project: com.google

Project SonarSource/sonarqube in file ....java.org.sonar.server.issue.index.IssueIndex.java (2014-09-23)
@@ -20,6 +20,7 @@
 package org.sonar.server.issue.index;
 
 import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableMap;
 import org.apache.commons.lang.BooleanUtils;
 import org.elasticsearch.action.search.SearchRequestBuilder;
 import org.elasticsearch.action.search.SearchResponse;
@@ -77,6 +78,7 @@ public class IssueIndex extends BaseIndex<Issue, IssueDto, String> {
   protected Map mapDomain() {
     Map<String, Object> mapping = new HashMap<String, Object>();
     mapping.put("dynamic", false);
+    mapping.put("_all", ImmutableMap.of("enabled", false));
     mapping.put("_id", mapKey());
     mapping.put("_parent", mapParent());
     mapping.put("_routing", mapRouting());
Project facebook/buck in file ...2/src.com.facebook.buck.cxx.CxxConstructorArg.java (2014-10-13)
@@ -21,6 +21,7 @@ import com.facebook.buck.rules.SourcePath;
 import com.facebook.infer.annotation.SuppressFieldNotInitialized;
 import com.google.common.base.Optional;
 import com.google.common.collect.ImmutableList;
+import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableSortedSet;
 
 @SuppressFieldNotInitialized
@@ -29,9 +30,9 @@ public class CxxConstructorArg {
   public Optional<ImmutableList<SourcePath>> headers;
   public Optional<ImmutableList<String>> compilerFlags;
   public Optional<ImmutableList<String>> preprocessorFlags;
+  public Optional<ImmutableMap<CxxSource.Type, ImmutableList<String>>> langPreprocessorFlags;
   public Optional<ImmutableList<SourcePath>> lexSrcs;
   public Optional<ImmutableList<SourcePath>> yaccSrcs;
   public Optional<ImmutableSortedSet<BuildTarget>> deps;
   public Optional<String> headerNamespace;
 }
-
Project facebook/buck in file ...4/src.com.facebook.buck.cxx.CxxConstructorArg.java (2014-10-17)
@@ -21,6 +21,7 @@ import com.facebook.buck.rules.SourcePath;
 import com.facebook.infer.annotation.SuppressFieldNotInitialized;
 import com.google.common.base.Optional;
 import com.google.common.collect.ImmutableList;
+import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableSortedSet;
 
 @SuppressFieldNotInitialized
@@ -29,9 +30,9 @@ public class CxxConstructorArg {
   public Optional<ImmutableList<SourcePath>> headers;
   public Optional<ImmutableList<String>> compilerFlags;
   public Optional<ImmutableList<String>> preprocessorFlags;
+  public Optional<ImmutableMap<CxxSource.Type, ImmutableList<String>>> langPreprocessorFlags;
   public Optional<ImmutableList<SourcePath>> lexSrcs;
   public Optional<ImmutableList<SourcePath>> yaccSrcs;
   public Optional<ImmutableSortedSet<BuildTarget>> deps;
   public Optional<String> headerNamespace;
 }
-