return slaveUsage; | return Optional.of(slaveUsage); | slaveUsage | Optional.of(slaveUsage) | Singularity | 339dd4491295a2a12d30b06126826667c76ab90c | com.hubspot.singularity.scheduler.SingularityUsagePoller | | _1 | collectSlaveUsage |
---|
_2 | collectSlaveUsage |
---|
| | - com.google.common.base.Optional
| | Returns | True |
return CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder); | return Optional.of(CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder)); | CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder) | Optional.of(CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder)) | beam | b32f0482784b9df7ce67226b32febe6e664a45b6 | org.apache.beam.runners.spark.translation.GroupCombineFunctions | | _1 | combineGlobally |
---|
_2 | combineGlobally |
---|
| v0 | CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder) |
---|
| - com.google.common.base.Optional
| v0 | CoderHelpers.fromByteArray(accumulatedBytes,iterAccumCoder) |
---|
| Returns | True |
return defectReporter.submitReport(defectReport); | return Optional.of(defectReporter.submitReport(defectReport)); | defectReporter.submitReport(defectReport) | Optional.of(defectReporter.submitReport(defectReport)) | buck | 71aa66a14fb2789160e9af65a368c65400eb99be | com.facebook.buck.rage.AbstractReport | | _1 | collectAndSubmitResult |
---|
_2 | collectAndSubmitResult |
---|
| v0 | defectReporter.submitReport(defectReport) |
---|
| - com.google.common.base.Optional
| v0 | defectReporter.submitReport(defectReport) |
---|
| Returns | True |
return legacyNamespace; | return Optional.of(legacyNamespace); | legacyNamespace | Optional.of(legacyNamespace) | closure-compiler | 34ff3903e7811c07f8b6c1ed9123cd75a1d3c865 | com.google.javascript.jscomp.ClosureRewriteModule.GlobalRewriteState | | _1 | getExportedNamespaceOrScript |
---|
_2 | getExportedNamespaceOrScript |
---|
| | - com.google.common.base.Optional
| | Returns | True |
return xcodeProviderBuilder.build(); | return Optional.of(xcodeProviderBuilder.build()); | xcodeProviderBuilder.build() | Optional.of(xcodeProviderBuilder.build()) | bazel | fa6f40300d7f998ab20b7e8ecc190059c0fcb042 | com.google.devtools.build.lib.rules.objc.ProtobufSupport | | _1 | getXcodeProvider |
---|
_2 | getXcodeProvider |
---|
| v0 | xcodeProviderBuilder.build() |
---|
| - com.google.common.base.Optional
| v0 | xcodeProviderBuilder.build() |
---|
| Returns | True |
return commonBuilder.build().getObjcProvider(); | return Optional.of(commonBuilder.build().getObjcProvider()); | commonBuilder.build().getObjcProvider() | Optional.of(commonBuilder.build().getObjcProvider()) | bazel | fa6f40300d7f998ab20b7e8ecc190059c0fcb042 | com.google.devtools.build.lib.rules.objc.ProtobufSupport | | _1 | getObjcProvider |
---|
_2 | getObjcProvider |
---|
| v0 | commonBuilder.build().getObjcProvider() |
---|
| - com.google.common.base.Optional
| v0 | commonBuilder.build().getObjcProvider() |
---|
| Returns | True |
this.outputFeatureSet=featureSet; | this.outputFeatureSet=Optional.of(featureSet); | featureSet | Optional.of(featureSet) | closure-compiler | e583544bdc2acbdc8b78e675796079191d0799f6 | com.google.javascript.jscomp.CompilerOptions | | _1 | outputFeatureSet |
---|
_2 | outputFeatureSet |
---|
| | - com.google.common.base.Optional
| | AssignedTo | True |
return ImmutableMap.copyOf(expectedValues); | return Optional.of(ImmutableMap.copyOf(expectedValues)); | ImmutableMap.copyOf(expectedValues) | Optional.of(ImmutableMap.copyOf(expectedValues)) | bazel | 50f46e290b7f52123d99edb125d7b53dbe2b7b4d | com.google.devtools.build.lib.rules.android.AndroidFeatureFlagSetProvider | | _1 | getAndValidateFlagMapFromRuleContext |
---|
_2 | getAndValidateFlagMapFromRuleContext |
---|
| v0 | ImmutableMap.copyOf(expectedValues) |
---|
| - com.google.common.base.Optional
| v0 | ImmutableMap.copyOf(expectedValues) |
---|
| Returns | True |
return Futures.immediateFailedFuture(e); | return Optional.of(Futures.immediateFailedFuture(e)); | Futures.immediateFailedFuture(e) | Optional.of(Futures.immediateFailedFuture(e)) | hadoop | 603f3ef1386048111940b66f3a0750ab84d0588f | org.apache.hadoop.hdfs.server.datanode.checker.TestDatasetVolumeChecker.DummyChecker | | | v0 | Futures.immediateFailedFuture(e) |
---|
| - com.google.common.base.Optional
| v0 | Futures.immediateFailedFuture(e) |
---|
| Returns | True |
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))) | hadoop | 603f3ef1386048111940b66f3a0750ab84d0588f | org.apache.hadoop.hdfs.server.datanode.checker.TestDatasetVolumeChecker.DummyChecker | | | v0 | Futures.immediateFuture(target.check(context)) |
---|
| - com.google.common.base.Optional
| v0 | Futures.immediateFuture(target.check(context)) |
---|
| Returns | True |
return lf; | return Optional.of(lf); | lf | Optional.of(lf) | hadoop | 603f3ef1386048111940b66f3a0750ab84d0588f | org.apache.hadoop.hdfs.server.datanode.checker.ThrottledAsyncChecker | | | | - com.google.common.base.Optional
| | Returns | True |
return newestBuildDir.toPath(); | return Optional.of(newestBuildDir.toPath()); | newestBuildDir.toPath() | Optional.of(newestBuildDir.toPath()) | buck | 1f9f06a2ec5c891260548d8018629026682326f1 | com.facebook.buck.android.DefaultAndroidDirectoryResolver | | _1 | findBuildTools |
---|
_2 | findBuildTools |
---|
| v0 | newestBuildDir.toPath() |
---|
| - com.google.common.base.Optional
| v0 | newestBuildDir.toPath() |
---|
| Returns | True |
return directories[0].toPath(); | return Optional.of(directories[0].toPath()); | directories[0].toPath() | Optional.of(directories[0].toPath()) | buck | 1f9f06a2ec5c891260548d8018629026682326f1 | com.facebook.buck.android.DefaultAndroidDirectoryResolver | | _1 | findBuildTools |
---|
_2 | findBuildTools |
---|
| v0 | directories[0].toPath() |
---|
| - com.google.common.base.Optional
| v0 | directories[0].toPath() |
---|
| Returns | True |
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())) | Singularity | b312a2f0a801c6b7073bfd563e5386b87d9dce41 | com.hubspot.singularity.scheduler.SingularityUpstreamChecker | | _1 | syncUpstreamsForService |
---|
_2 | syncUpstreamsForServiceHelper |
---|
| v0 | new 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
| v0 | new SingularityLoadBalancerUpdate(BaragonRequestState.UNKNOWN,loadBalancerRequestId,Optional.of(String.format(STR0,e.getClass().getSimpleName(),e.getMessage())),start,LoadBalancerMethod.CHECK_STATE,Optional.absent()) |
---|
| Returns | True |
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)) | Singularity | b312a2f0a801c6b7073bfd563e5386b87d9dce41 | com.hubspot.singularity.scheduler.SingularityUpstreamChecker | | _1 | syncUpstreamsForService |
---|
_2 | syncUpstreamsForServiceHelper |
---|
| v0 | lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest) |
---|
| - com.google.common.base.Optional
| v0 | lbClient.makeAndSendLoadBalancerRequest(loadBalancerRequestId,Collections.emptyList(),extraUpstreams,deploy,singularityRequest) |
---|
| Returns | True |
return component; | return Optional.of(component); | component | Optional.of(component) | buck | c1544af1b953bc5441b16466160e64845205686e | com.facebook.buck.jvm.java.JavaFileParser | | _1 | getSimpleNameFromFullyQualifiedName |
---|
_2 | getSimpleNameFromFullyQualifiedName |
---|
| | - com.google.common.base.Optional
| | Returns | True |
return fullyQualifiedName; | return Optional.of(fullyQualifiedName); | fullyQualifiedName | Optional.of(fullyQualifiedName) | buck | c1544af1b953bc5441b16466160e64845205686e | com.facebook.buck.jvm.java.JavaFileParser | | _1 | getSimpleNameFromFullyQualifiedName |
---|
_2 | getSimpleNameFromFullyQualifiedName |
---|
| | - com.google.common.base.Optional
| | Returns | True |
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)) | FreeBuilder | e65423c962ae31523a2850e84da99863869a2b68 | org.inferred.freebuilder.processor.naming.PrefixlessConvention | | _1 | getPropertyNamesOrNull |
---|
_2 | getPropertyNames |
---|
| v0 | new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name) |
---|
| - com.google.common.base.Optional
| v0 | new Property.Builder().setUsingBeanConvention(false).setName(name).setCapitalizedName(capitalizedName).setGetterName(name) |
---|
| Returns | True |
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))) | FreeBuilder | e65423c962ae31523a2850e84da99863869a2b68 | org.inferred.freebuilder.processor.naming.BeanConvention | | _1 | getPropertyNamesOrNull |
---|
_2 | getPropertyNames |
---|
| v0 | new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0)) |
---|
| - com.google.common.base.Optional
| v0 | new Property.Builder().setUsingBeanConvention(true).setName(camelCaseName).setCapitalizedName(capitalizedName).setGetterName(getterMatcher.group(0)) |
---|
| Returns | True |
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())) | buck | 721b1cb42488742a89f3675b97647d4d20441da1 | com.facebook.buck.rules.FakeRuleKeyBuilderFactory | | _1 | buildManifestKey |
---|
_2 | buildManifestKey |
---|
| v0 | new Pair<>(build(rule),ImmutableSet.<SourcePath>of()) |
---|
| - com.google.common.base.Optional
| v0 | new Pair<>(build(rule),ImmutableSet.<SourcePath>of()) |
---|
| Returns | True |
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())) | buck | 721b1cb42488742a89f3675b97647d4d20441da1 | com.facebook.buck.rules.FakeRuleKeyBuilderFactory | | | v0 | new Pair<>(build(rule),ImmutableSet.<SourcePath>of()) |
---|
| - com.google.common.base.Optional
| v0 | new Pair<>(build(rule),ImmutableSet.<SourcePath>of()) |
---|
| Returns | True |
return result.getRuleKey(); | return Optional.of(result.getRuleKey()); | result.getRuleKey() | Optional.of(result.getRuleKey()) | buck | 721b1cb42488742a89f3675b97647d4d20441da1 | com.facebook.buck.rules.keys.InputBasedRuleKeyBuilderFactory.newBuilder | | | | - com.google.common.base.Optional
| | Returns | True |
return suggestedPath; | return Optional.of(suggestedPath); | suggestedPath | Optional.of(suggestedPath) | buck | 70301395ecda2a9d4be3196db8fc09c537771502 | com.facebook.buck.io.AlwaysFoundExecutableFinder | | _1 | findExecutable |
---|
_2 | getOptionalExecutable |
---|
| | - com.google.common.base.Optional
| | Returns | True |
return path; | return Optional.of(path); | path | Optional.of(path) | buck | 70301395ecda2a9d4be3196db8fc09c537771502 | com.facebook.buck.io.FakeExecutableFinder | | _1 | findExecutable |
---|
_2 | getOptionalExecutable |
---|
| | - com.google.common.base.Optional
| | Returns | True |
cachedEnvironment=cellEnv; | cachedEnvironment=Optional.of(cellEnv); | cellEnv | Optional.of(cellEnv) | buck | 746397dcc69a8e4702ff4142e7d1ef48854bc6fd | com.facebook.buck.parser.DaemonicParserState | | _1 | cachedEnvironment |
---|
_2 | cachedEnvironment |
---|
| | - com.google.common.base.Optional
| | AssignedTo | True |
return getBuildTarget().toString(); | return Optional.of(getBuildTarget().toString()); | getBuildTarget().toString() | Optional.of(getBuildTarget().toString()) | buck | 7f91044fe7568d3de9422d77478dc7fef70c8dd4 | com.facebook.buck.cxx.OmnibusTest.Root | | _1 | getSharedNativeLinkTargetLibraryName |
---|
_2 | getSharedNativeLinkTargetLibraryName |
---|
| v0 | getBuildTarget().toString() |
---|
| - com.google.common.base.Optional
| v0 | getBuildTarget().toString() |
---|
| Returns | True |
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)) | buck | 7f91044fe7568d3de9422d77478dc7fef70c8dd4 | com.facebook.buck.cxx.CxxLibrary | | _1 | getSharedNativeLinkTargetLibraryName |
---|
_2 | getSharedNativeLinkTargetLibraryName |
---|
| v0 | CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform) |
---|
| - com.google.common.base.Optional
| v0 | CxxDescriptionEnhancer.getSharedLibrarySoname(soname,getBuildTarget(),cxxPlatform) |
---|
| Returns | True |
return this.smtpConfiguration.get().getTaskLogErrorRegex(); | return Optional.of(this.smtpConfiguration.get().getTaskLogErrorRegex()); | this.smtpConfiguration.get().getTaskLogErrorRegex() | Optional.of(this.smtpConfiguration.get().getTaskLogErrorRegex()) | Singularity | abdc5c685aff6619f658fcfdc3896ff93c9cb455 | com.hubspot.singularity.smtp.MailTemplateHelpers | | _1 | getLogErrorRegex |
---|
_2 | getLogErrorRegex |
---|
| v0 | this.smtpConfiguration.get().getTaskLogErrorRegex() |
---|
| - com.google.common.base.Optional
| v0 | this.smtpConfiguration.get().getTaskLogErrorRegex() |
---|
| Returns | True |
return examples; | return Optional.of(examples); | examples | Optional.of(examples) | swagger2markup | 5ead0975c10d6bbac8ad585fe91cc6eaa4d0739a | io.github.robwin.swagger2markup.builder.document.PathsDocument | | _1 | generateResponseExampleMap |
---|
_2 | generateResponseExampleMap |
---|
| | - com.google.common.base.Optional
| | Returns | True |