OriginalCompleteBeforeOriginalCompleteAfterBeforeAfterProjectCommitCompilationUnitLineNosNamesTemplateVariableToCodeBeforeRelevantImportsTemplateVariableToCodeAfterisRelevantisSafe
return slaveUsage;return Optional.of(slaveUsage);slaveUsageOptional.of(slaveUsage)Singularity339dd4491295a2a12d30b06126826667c76ab90ccom.hubspot.singularity.scheduler.SingularityUsagePoller
_1168
_2149
_1collectSlaveUsage
_2collectSlaveUsage
v0slaveUsage
  • com.google.common.base.Optional
v0slaveUsage
ReturnsTrue
return CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder);return Optional.of(CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder));CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder)Optional.of(CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder))beamb32f0482784b9df7ce67226b32febe6e664a45b6org.apache.beam.runners.spark.translation.GroupCombineFunctions
_167
_266
_1combineGlobally
_2combineGlobally
v0CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder)
  • com.google.common.base.Optional
v0CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder)
ReturnsTrue
return defectReporter.submitReport(defectReport);return Optional.of(defectReporter.submitReport(defectReport));defectReporter.submitReport(defectReport)Optional.of(defectReporter.submitReport(defectReport))buck71aa66a14fb2789160e9af65a368c65400eb99becom.facebook.buck.rage.AbstractReport
_175
_275
_1collectAndSubmitResult
_2collectAndSubmitResult
v0defectReporter.submitReport(defectReport)
  • com.google.common.base.Optional
v0defectReporter.submitReport(defectReport)
ReturnsTrue
return legacyNamespace;return Optional.of(legacyNamespace);legacyNamespaceOptional.of(legacyNamespace)closure-compiler34ff3903e7811c07f8b6c1ed9123cd75a1d3c865com.google.javascript.jscomp.ClosureRewriteModule.GlobalRewriteState
_1697
_2744
_1getExportedNamespaceOrScript
_2getExportedNamespaceOrScript
v0legacyNamespace
  • com.google.common.base.Optional
v0legacyNamespace
ReturnsTrue
return xcodeProviderBuilder.build();return Optional.of(xcodeProviderBuilder.build());xcodeProviderBuilder.build()Optional.of(xcodeProviderBuilder.build())bazelfa6f40300d7f998ab20b7e8ecc190059c0fcb042com.google.devtools.build.lib.rules.objc.ProtobufSupport
_1212
_2230
_1getXcodeProvider
_2getXcodeProvider
v0xcodeProviderBuilder.build()
  • com.google.common.base.Optional
v0xcodeProviderBuilder.build()
ReturnsTrue
return commonBuilder.build().getObjcProvider();return Optional.of(commonBuilder.build().getObjcProvider());commonBuilder.build().getObjcProvider()Optional.of(commonBuilder.build().getObjcProvider())bazelfa6f40300d7f998ab20b7e8ecc190059c0fcb042com.google.devtools.build.lib.rules.objc.ProtobufSupport
_1184
_2200
_1getObjcProvider
_2getObjcProvider
v0commonBuilder.build().getObjcProvider()
  • com.google.common.base.Optional
v0commonBuilder.build().getObjcProvider()
ReturnsTrue
this.outputFeatureSet=featureSet;this.outputFeatureSet=Optional.of(featureSet);featureSetOptional.of(featureSet)closure-compilere583544bdc2acbdc8b78e675796079191d0799f6com.google.javascript.jscomp.CompilerOptions
_1118
_2118
_1outputFeatureSet
_2outputFeatureSet
v0featureSet
  • com.google.common.base.Optional
v0featureSet
AssignedToTrue
return ImmutableMap.copyOf(expectedValues);return Optional.of(ImmutableMap.copyOf(expectedValues));ImmutableMap.copyOf(expectedValues)Optional.of(ImmutableMap.copyOf(expectedValues))bazel50f46e290b7f52123d99edb125d7b53dbe2b7b4dcom.google.devtools.build.lib.rules.android.AndroidFeatureFlagSetProvider
_155
_255
_1getAndValidateFlagMapFromRuleContext
_2getAndValidateFlagMapFromRuleContext
v0ImmutableMap.copyOf(expectedValues)
  • com.google.common.base.Optional
v0ImmutableMap.copyOf(expectedValues)
ReturnsTrue
return Futures.immediateFailedFuture(e);return Optional.of(Futures.immediateFailedFuture(e));Futures.immediateFailedFuture(e)Optional.of(Futures.immediateFailedFuture(e))hadoop603f3ef1386048111940b66f3a0750ab84d0588forg.apache.hadoop.hdfs.server.datanode.checker.TestDatasetVolumeChecker.DummyChecker
_1210
_2218
_1schedule
_2schedule
v0Futures.immediateFailedFuture(e)
  • com.google.common.base.Optional
v0Futures.immediateFailedFuture(e)
ReturnsTrue
return Futures.immediateFuture(target.check(context));return Optional.of(Futures.immediateFuture(target.check(context)));Futures.immediateFuture(target.check(context))Optional.of(Futures.immediateFuture(target.check(context)))hadoop603f3ef1386048111940b66f3a0750ab84d0588forg.apache.hadoop.hdfs.server.datanode.checker.TestDatasetVolumeChecker.DummyChecker
_1210
_2218
_1schedule
_2schedule
v0Futures.immediateFuture(target.check(context))
  • com.google.common.base.Optional
v0Futures.immediateFuture(target.check(context))
ReturnsTrue
return lf;return Optional.of(lf);lfOptional.of(lf)hadoop603f3ef1386048111940b66f3a0750ab84d0588forg.apache.hadoop.hdfs.server.datanode.checker.ThrottledAsyncChecker
_196
_297
_1schedule
_2schedule
v0lf
  • com.google.common.base.Optional
v0lf
ReturnsTrue
return newestBuildDir.toPath();return Optional.of(newestBuildDir.toPath());newestBuildDir.toPath()Optional.of(newestBuildDir.toPath())buck1f9f06a2ec5c891260548d8018629026682326f1com.facebook.buck.android.DefaultAndroidDirectoryResolver
_1184
_2187
_1findBuildTools
_2findBuildTools
v0newestBuildDir.toPath()
  • com.google.common.base.Optional
v0newestBuildDir.toPath()
ReturnsTrue
return directories[0].toPath();return Optional.of(directories[0].toPath());directories[0].toPath()Optional.of(directories[0].toPath())buck1f9f06a2ec5c891260548d8018629026682326f1com.facebook.buck.android.DefaultAndroidDirectoryResolver
_1184
_2187
_1findBuildTools
_2findBuildTools
v0directories[0].toPath()
  • com.google.common.base.Optional
v0directories[0].toPath()
ReturnsTrue
return new SingularityLoadBalancerUpdate(BaragonRequestState.UNKNOWN,loadBalancerRequestId,Optional.of(String.format(STR0,e.getClass().getSimpleName(),e.getMessage())),start,LoadBalancerMethod.CHECK_STATE,Optional.absent());return Optional.of(new SingularityLoadBalancerUpdate(BaragonRequestState.UNKNOWN,loadBalancerRequestId,Optional.of(String.format(STR0,e.getClass().getSimpleName(),e.getMessage())),start,LoadBalancerMethod.CHECK_STATE,Optional.absent()));new SingularityLoadBalancerUpdate(BaragonRequestState.UNKNOWN,loadBalancerRequestId,Optional.of(String.format(STR0,e.getClass().getSimpleName(),e.getMessage())),start,LoadBalancerMethod.CHECK_STATE,Optional.absent())Optional.of(new SingularityLoadBalancerUpdate(BaragonRequestState.UNKNOWN,loadBalancerRequestId,Optional.of(String.format(STR0,e.getClass().getSimpleName(),e.getMessage())),start,LoadBalancerMethod.CHECK_STATE,Optional.absent()))Singularityb312a2f0a801c6b7073bfd563e5386b87d9dce41com.hubspot.singularity.scheduler.SingularityUpstreamChecker
_1128
_2123
_1syncUpstreamsForService
_2syncUpstreamsForServiceHelper
v0new SingularityLoadBalancerUpdate(BaragonRequestState.UNKNOWN,loadBalancerRequestId,Optional.of(String.format(STR0,e.getClass().getSimpleName(),e.getMessage())),start,LoadBalancerMethod.CHECK_STATE,Optional.absent())
  • com.google.common.base.Optional
v0new SingularityLoadBalancerUpdate(BaragonRequestState.UNKNOWN,loadBalancerRequestId,Optional.of(String.format(STR0,e.getClass().getSimpleName(),e.getMessage())),start,LoadBalancerMethod.CHECK_STATE,Optional.absent())
ReturnsTrue
return lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest);return Optional.of(lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest));lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest)Optional.of(lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest))Singularityb312a2f0a801c6b7073bfd563e5386b87d9dce41com.hubspot.singularity.scheduler.SingularityUpstreamChecker
_1128
_2123
_1syncUpstreamsForService
_2syncUpstreamsForServiceHelper
v0lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest)
  • com.google.common.base.Optional
v0lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest)
ReturnsTrue
return component;return Optional.of(component);componentOptional.of(component)buckc1544af1b953bc5441b16466160e64845205686ecom.facebook.buck.jvm.java.JavaFileParser
_1860
_2872
_1getSimpleNameFromFullyQualifiedName
_2getSimpleNameFromFullyQualifiedName
v0component
  • com.google.common.base.Optional
v0component
ReturnsTrue
return fullyQualifiedName;return Optional.of(fullyQualifiedName);fullyQualifiedNameOptional.of(fullyQualifiedName)buckc1544af1b953bc5441b16466160e64845205686ecom.facebook.buck.jvm.java.JavaFileParser
_1860
_2872
_1getSimpleNameFromFullyQualifiedName
_2getSimpleNameFromFullyQualifiedName
v0fullyQualifiedName
  • com.google.common.base.Optional
v0fullyQualifiedName
ReturnsTrue
return new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name);return Optional.of(new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name));new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name)Optional.of(new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name))FreeBuildere65423c962ae31523a2850e84da99863869a2b68org.inferred.freebuilder.processor.naming.PrefixlessConvention
_143
_245
_1getPropertyNamesOrNull
_2getPropertyNames
v0new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name)
  • com.google.common.base.Optional
v0new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name)
ReturnsTrue
return new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0));return Optional.of(new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0)));new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0))Optional.of(new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0)))FreeBuildere65423c962ae31523a2850e84da99863869a2b68org.inferred.freebuilder.processor.naming.BeanConvention
_156
_258
_1getPropertyNamesOrNull
_2getPropertyNames
v0new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0))
  • com.google.common.base.Optional
v0new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0))
ReturnsTrue
return new Pair<>(build(rule),ImmutableSet.<SourcePath>of());return Optional.of(new Pair<>(build(rule),ImmutableSet.<SourcePath>of()));new Pair<>(build(rule),ImmutableSet.<SourcePath>of())Optional.of(new Pair<>(build(rule),ImmutableSet.<SourcePath>of()))buck721b1cb42488742a89f3675b97647d4d20441da1com.facebook.buck.rules.FakeRuleKeyBuilderFactory
_184
_284
_1buildManifestKey
_2buildManifestKey
v0new Pair<>(build(rule),ImmutableSet.<SourcePath>of())
  • com.google.common.base.Optional
v0new Pair<>(build(rule),ImmutableSet.<SourcePath>of())
ReturnsTrue
return new Pair<>(build(rule),ImmutableSet.<SourcePath>of());return Optional.of(new Pair<>(build(rule),ImmutableSet.<SourcePath>of()));new Pair<>(build(rule),ImmutableSet.<SourcePath>of())Optional.of(new Pair<>(build(rule),ImmutableSet.<SourcePath>of()))buck721b1cb42488742a89f3675b97647d4d20441da1com.facebook.buck.rules.FakeRuleKeyBuilderFactory
_176
_276
_1build
_2build
v0new Pair<>(build(rule),ImmutableSet.<SourcePath>of())
  • com.google.common.base.Optional
v0new Pair<>(build(rule),ImmutableSet.<SourcePath>of())
ReturnsTrue
return result.getRuleKey();return Optional.of(result.getRuleKey());result.getRuleKey()Optional.of(result.getRuleKey())buck721b1cb42488742a89f3675b97647d4d20441da1com.facebook.buck.rules.keys.InputBasedRuleKeyBuilderFactory.newBuilder
_190
_293
_1build
_2build
v0result.getRuleKey()
  • com.google.common.base.Optional
v0result.getRuleKey()
ReturnsTrue
return suggestedPath;return Optional.of(suggestedPath);suggestedPathOptional.of(suggestedPath)buck70301395ecda2a9d4be3196db8fc09c537771502com.facebook.buck.io.AlwaysFoundExecutableFinder
_125
_226
_1findExecutable
_2getOptionalExecutable
v0suggestedPath
  • com.google.common.base.Optional
v0suggestedPath
ReturnsTrue
return path;return Optional.of(path);pathOptional.of(path)buck70301395ecda2a9d4be3196db8fc09c537771502com.facebook.buck.io.FakeExecutableFinder
_138
_237
_1findExecutable
_2getOptionalExecutable
v0path
  • com.google.common.base.Optional
v0path
ReturnsTrue
cachedEnvironment=cellEnv;cachedEnvironment=Optional.of(cellEnv);cellEnvOptional.of(cellEnv)buck746397dcc69a8e4702ff4142e7d1ef48854bc6fdcom.facebook.buck.parser.DaemonicParserState
_1138
_2145
_1cachedEnvironment
_2cachedEnvironment
v0cellEnv
  • com.google.common.base.Optional
v0cellEnv
AssignedToTrue
return getBuildTarget().toString();return Optional.of(getBuildTarget().toString());getBuildTarget().toString()Optional.of(getBuildTarget().toString())buck7f91044fe7568d3de9422d77478dc7fef70c8dd4com.facebook.buck.cxx.OmnibusTest.Root
_1564
_2565
_1getSharedNativeLinkTargetLibraryName
_2getSharedNativeLinkTargetLibraryName
v0getBuildTarget().toString()
  • com.google.common.base.Optional
v0getBuildTarget().toString()
ReturnsTrue
return CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform);return Optional.of(CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform));CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform)Optional.of(CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform))buck7f91044fe7568d3de9422d77478dc7fef70c8dd4com.facebook.buck.cxx.CxxLibrary
_1298
_2298
_1getSharedNativeLinkTargetLibraryName
_2getSharedNativeLinkTargetLibraryName
v0CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform)
  • com.google.common.base.Optional
v0CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform)
ReturnsTrue
return this.smtpConfiguration.get().getTaskLogErrorRegex();return Optional.of(this.smtpConfiguration.get().getTaskLogErrorRegex());this.smtpConfiguration.get().getTaskLogErrorRegex()Optional.of(this.smtpConfiguration.get().getTaskLogErrorRegex())Singularityabdc5c685aff6619f658fcfdc3896ff93c9cb455com.hubspot.singularity.smtp.MailTemplateHelpers
_1110
_2112
_1getLogErrorRegex
_2getLogErrorRegex
v0this.smtpConfiguration.get().getTaskLogErrorRegex()
  • com.google.common.base.Optional
v0this.smtpConfiguration.get().getTaskLogErrorRegex()
ReturnsTrue
return examples;return Optional.of(examples);examplesOptional.of(examples)swagger2markup5ead0975c10d6bbac8ad585fe91cc6eaa4d0739aio.github.robwin.swagger2markup.builder.document.PathsDocument
_1645
_231
_1generateResponseExampleMap
_2generateResponseExampleMap
v0examples
  • com.google.common.base.Optional
v0examples
ReturnsTrue