com.google.common.base.Optional



API Populatity

52 Client projects

Project: com.google

Project MovingBlocks/Terasology in file ...org.terasology.world.generator.WorldGenerator.java (2014-02-01)
@@ -20,6 +20,8 @@
 import org.terasology.world.ChunkView;
 import org.terasology.world.chunks.Chunk;
 
+import com.google.common.base.Optional;
+
 /**
  * @author Immortius
  */
@@ -39,4 +41,6 @@
     float getHumidity(float x, float y, float z);
 
     void initialize();
+
+    Optional<WorldConfigurator> getConfigurator();
 }
Project facebook/buck in file ...ffc305c/src.com.facebook.buck.cxx.CxxPlatform.java (2014-11-13)
@@ -19,6 +19,7 @@ package com.facebook.buck.cxx;
 import com.facebook.buck.model.BuildTarget;
 import com.facebook.buck.model.Flavor;
 import com.facebook.buck.rules.SourcePath;
+import com.google.common.base.Optional;
 import com.google.common.collect.ImmutableList;
 
 /**
@@ -64,6 +65,8 @@ public interface CxxPlatform {
 
   String getSharedLibraryExtension();
 
+  Optional<DebugPathSanitizer> getDebugPathSanitizer();
+
   BuildTarget getGtestDep();
 
   BuildTarget getBoostTestDep();
Project facebook/buck in file ...b/test.com.facebook.buck.apple.IosLibraryTest.java (2014-06-16)
@@ -24,6 +24,7 @@ import com.facebook.buck.rules.BuildRuleParams;
 import com.facebook.buck.rules.FakeBuildRuleParamsBuilder;
 import com.facebook.buck.rules.TestSourcePath;
 import com.facebook.buck.rules.coercer.AppleSource;
+import com.google.common.base.Optional;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableSortedSet;
@@ -44,6 +45,7 @@ public class IosLibraryTest {
         AppleSource.ofSourcePath(new TestSourcePath("some_header.h")));
     arg.configs = ImmutableMap.of();
     arg.frameworks = ImmutableSortedSet.of();
+    arg.deps = Optional.absent();
 
     BuildRuleParams params =
         new FakeBuildRuleParamsBuilder(new BuildTarget("//foo", "foo")).build();