OriginalCompleteBeforeOriginalCompleteAfterBeforeAfterProjectCommitCompilationUnitLineNosNamesTemplateVariableToCodeBeforeRelevantImportsTemplateVariableToCodeAfterisRelevantisSafe
return new OBackgroundNewDelta(finished);return Optional.of(new OBackgroundNewDelta(finished));new OBackgroundNewDelta(finished)Optional.of(new OBackgroundNewDelta(finished))orientdbbf26fd319f1f961f67a81937129a3411c4154973com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage
_11392
_21392
_1extractTransactionsFromWal
_2extractTransactionsFromWal
v0new OBackgroundNewDelta(finished)
  • java.util.Optional
v0new OBackgroundNewDelta(finished)
ReturnsTrue
return new OBackgroundNewDelta(finished);return Optional.of(new OBackgroundNewDelta(finished));new OBackgroundNewDelta(finished)Optional.of(new OBackgroundNewDelta(finished))orientdbbf26fd319f1f961f67a81937129a3411c4154973com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage
_11392
_21392
_1extractTransactionsFromWal
_2extractTransactionsFromWal
v0new OBackgroundNewDelta(finished)
  • java.util.Optional
v0new OBackgroundNewDelta(finished)
ReturnsTrue
return subtrans.getResult();return Optional.of(subtrans.getResult());subtrans.getResult()Optional.of(subtrans.getResult())pentaho-kettle9ef7b62d6ab2f3a341c5346d51aa0db561b4009forg.pentaho.di.trans.SubtransExecutor
_156
_257
_1execute
_2execute
v0subtrans.getResult()
  • java.util.Optional
v0subtrans.getResult()
ReturnsTrue
return target.build();return Optional.of(target.build());target.build()Optional.of(target.build())sonarqube38218bf026f2ca74dbdddb30ddc85d6d9e2f2502org.sonar.server.computation.task.projectanalysis.issue.TrackerRawInputFactory.RawLazyInput
_1254
_2255
_1convertLocation
_2convertLocation
v0target.build()
  • java.util.Optional
v0target.build()
ReturnsTrue
return new Vector3f(spawnPos.getX(),spawnPos.getY() + entityHeight,spawnPos.getZ());return Optional.of(new Vector3f(spawnPos.getX(),spawnPos.getY() + entityHeight,spawnPos.getZ()));new Vector3f(spawnPos.getX(),spawnPos.getY() + entityHeight,spawnPos.getZ())Optional.of(new Vector3f(spawnPos.getX(),spawnPos.getY() + entityHeight,spawnPos.getZ()))Terasology420496a9b05dc6dbf44fcf4037cf6c8748e27c43org.terasology.logic.players.PlayerFactory
_1132
_2134
_1findSpawnPos
_2findSpawnPos
v0new Vector3f(spawnPos.getX(),spawnPos.getY() + entityHeight,spawnPos.getZ())
  • java.util.Optional
v0new Vector3f(spawnPos.getX(),spawnPos.getY() + entityHeight,spawnPos.getZ())
ReturnsTrue
return sessionId;return Optional.of(sessionId);sessionIdOptional.of(sessionId)casf024ac98d83070e54ee5aaa983f0a618c2a9c516org.apereo.cas.pac4j.DistributedJEESessionStore
_141
_242
_1getOrCreateSessionId
_2getSessionId
v0sessionId
  • java.util.Optional
v0sessionId
ReturnsTrue
return BuildTargets.getGenPath(projectFilesystem,buildTarget,STR0).resolve(String.format(STR1,buildTarget.getShortName()));return Optional.of(BuildTargets.getGenPath(projectFilesystem,buildTarget,STR0).resolve(String.format(STR1,buildTarget.getShortName())));BuildTargets.getGenPath(projectFilesystem,buildTarget,STR0).resolve(String.format(STR1,buildTarget.getShortName()))Optional.of(BuildTargets.getGenPath(projectFilesystem,buildTarget,STR0).resolve(String.format(STR1,buildTarget.getShortName())))buck1485388bff710289f94d5de6c89f1b41b9862805com.facebook.buck.jvm.java.JarBuildStepsFactory
_1107
_2203
_1getAbiJarPath
_2getOutputJarPath
v0BuildTargets.getGenPath(projectFilesystem,buildTarget,STR0).resolve(String.format(STR1,buildTarget.getShortName()))
  • java.util.Optional
v0BuildTargets.getGenPath(projectFilesystem,buildTarget,STR0).resolve(String.format(STR1,buildTarget.getShortName()))
ReturnsTrue
return value;return Optional.of(value);valueOptional.of(value)sonarqube09d6b71a927e6f52bcac97dbef2b319880f6be00org.sonar.server.component.es.ProjectMeasuresResultSetIterator
_1168
_2186
_1getDouble
_2getDouble
v0value
  • java.util.Optional
v0value
ReturnsTrue
return descriptor.substring(1,length - 1);return Optional.of(descriptor.substring(1,length - 1));descriptor.substring(1,length - 1)Optional.of(descriptor.substring(1,length - 1))bazel770b1779dfd4e673e1523bc7e6f1772d4f4dfc04com.google.devtools.build.android.desugar.BytecodeTypeInference.InferredType
_1994
_21039
_1getInternalNameOrThrow
_2getInternalName
v0descriptor.substring(1,length - 1)
  • java.util.Optional
v0descriptor.substring(1,length - 1)
ReturnsTrue
return fix.build();return Optional.of(fix.build());fix.build()Optional.of(fix.build())error-proneec64a7c4d81db6cc7c8220cb3dcbe181e9dafb26com.google.errorprone.fixes.SuggestedFixes
_1200
_2201
_1removeModifiers
_2removeModifiers
v0fix.build()
  • java.util.Optional
v0fix.build()
ReturnsTrue
return fix.build();return Optional.of(fix.build());fix.build()Optional.of(fix.build())error-proneec64a7c4d81db6cc7c8220cb3dcbe181e9dafb26com.google.errorprone.fixes.SuggestedFixes
_1142
_2142
_1addModifiers
_2addModifiers
v0fix.build()
  • java.util.Optional
v0fix.build()
ReturnsTrue
return new KeyStoreFactory().createKeyStore(privateKeyPath,certificatePath);return Optional.of(new KeyStoreFactory().createKeyStore(privateKeyPath,certificatePath));new KeyStoreFactory().createKeyStore(privateKeyPath,certificatePath)Optional.of(new KeyStoreFactory().createKeyStore(privateKeyPath,certificatePath))neo4j55c6fad3a9bbf8c37227495b837cccd20ea2bb79org.neo4j.server.AbstractNeoServer
_1409
_2410
_1createKeyStore
_2createKeyStore
v0new KeyStoreFactory().createKeyStore(privateKeyPath,certificatePath)
  • java.util.Optional
v0new KeyStoreFactory().createKeyStore(privateKeyPath,certificatePath)
ReturnsTrue
return func.signature();return Optional.of(func.signature());func.signature()Optional.of(func.signature())neo4jf0ae0ca009d7b08c5d6d3c922868851545c5bf3aorg.neo4j.kernel.impl.proc.ProcedureRegistry
_1136
_2138
_1function
_2function
v0func.signature()
  • java.util.Optional
v0func.signature()
ReturnsTrue
return buildId;return Optional.of(buildId);buildIdOptional.of(buildId)buckac79fc4bb186d22e9fd52f3626092fc9732fcda0com.facebook.buck.cli.AbstractDistBuildCommand
_132
_234
_1getBuildId
_2getStampedeBuildIdOptional
v0buildId
  • java.util.Optional
v0buildId
ReturnsTrue
return jobTask;return Optional.of(jobTask);jobTaskOptional.of(jobTask)elasticsearche5b11d0222b8ee76e3a6a5b467c5ac45d1c514cborg.elasticsearch.xpack.ml.action.CloseJobAction
_1565
_2572
_1validateAndReturnJobTask
_2validateAndReturnJobTask
v0jobTask
  • java.util.Optional
v0jobTask
ReturnsTrue
return proc.value();return Optional.of(proc.value());proc.value()Optional.of(proc.value())beam41d3c89772a2c96d0f8e44a2ed8df3238bbcc814cz.seznam.euphoria.operator.test.ng.junit.ExecutorProviderRunner
_198
_2109
_1getProcessing
_2getProcessing
v0proc.value()
  • java.util.Optional
v0proc.value()
ReturnsTrue
return new MemberId(UUID.randomUUID());return Optional.of(new MemberId(UUID.randomUUID()));new MemberId(UUID.randomUUID())Optional.of(new MemberId(UUID.randomUUID()))neo4ja3787a1c3b520bb4be5930cadf05214d63844f3borg.neo4j.causalclustering.readreplica.UpstreamDatabaseStrategySelectorTest.YetAnotherDummyUpstreamDatabaseSelectionStrategy
_1160
_2161
_1upstreamDatabase
_2upstreamDatabase
v0new MemberId(UUID.randomUUID())
  • java.util.Optional
v0new MemberId(UUID.randomUUID())
ReturnsTrue
return new MemberId(UUID.randomUUID());return Optional.of(new MemberId(UUID.randomUUID()));new MemberId(UUID.randomUUID())Optional.of(new MemberId(UUID.randomUUID()))neo4ja3787a1c3b520bb4be5930cadf05214d63844f3borg.neo4j.causalclustering.readreplica.UpstreamDatabaseStrategySelectorTest.AnotherDummyUpstreamDatabaseSelectionStrategy
_1145
_2146
_1upstreamDatabase
_2upstreamDatabase
v0new MemberId(UUID.randomUUID())
  • java.util.Optional
v0new MemberId(UUID.randomUUID())
ReturnsTrue
return jmxDump;return Optional.of(jmxDump);jmxDumpOptional.of(jmxDump)neo4j8d87da9083b3124a736a5ecdaccec621c33b62a5org.neo4j.commandline.dbms.DiagnosticsReportCommand
_1191
_2199
_1connectToNeo4jInstance
_2connectToNeo4jInstance
v0jmxDump
  • java.util.Optional
v0jmxDump
ReturnsTrue
return sb.toString();return Optional.of(sb.toString());sb.toString()Optional.of(sb.toString())elasticsearch5da9059d0b31ff057eb7c5aed4947639824552b9org.elasticsearch.bootstrap.JVMCheck.HotspotBug
_180
_2118
_1getWarningMessage
_2getWarningMessage
v0sb.toString()
  • java.util.Optional
v0sb.toString()
ReturnsTrue
return dateHistogram;return Optional.of(dateHistogram);dateHistogramOptional.of(dateHistogram)sonarqube247ff315c93202bfffa1aaf928e757c9db8ba1faorg.sonar.server.issue.index.IssueIndex
_1449
_2450
_1getCreatedAtFacet
_2getCreatedAtFacet
v0dateHistogram
  • java.util.Optional
v0dateHistogram
ReturnsTrue
return valueIsNull;return Optional.of(valueIsNull);valueIsNullOptional.of(valueIsNull)presto4d81f5186ff65418c8b2267f51b6eb5e924f56fdcom.facebook.presto.spi.block.EncoderUtil
_157
_265
_1decodeNullBits
_2decodeNullBits
v0valueIsNull
  • java.util.Optional
v0valueIsNull
ReturnsTrue
return new KubernetesService(service);return Optional.of(new KubernetesService(service));new KubernetesService(service)Optional.of(new KubernetesService(service))flink577abe7fe120adc039cd9f0450de3124d6b7a6a9org.apache.flink.kubernetes.kubeclient.Fabric8FlinkKubeClient
_1194
_2192
_1getRestService
_2getRestService
v0new KubernetesService(service)
  • java.util.Optional
v0new KubernetesService(service)
ReturnsTrue
return new Endpoint(KubernetesUtils.getInternalServiceName(clusterId) + STR0 + nameSpace,restPort);return Optional.of(new Endpoint(KubernetesUtils.getInternalServiceName(clusterId) + STR0 + nameSpace,restPort));new Endpoint(KubernetesUtils.getInternalServiceName(clusterId) + STR0 + nameSpace,restPort)Optional.of(new Endpoint(KubernetesUtils.getInternalServiceName(clusterId) + STR0 + nameSpace,restPort))flink577abe7fe120adc039cd9f0450de3124d6b7a6a9org.apache.flink.kubernetes.kubeclient.Fabric8FlinkKubeClient
_1125
_2141
_1getRestEndpoint
_2getRestEndpoint
v0new Endpoint(KubernetesUtils.getInternalServiceName(clusterId) + STR0 + nameSpace,restPort)
  • java.util.Optional
v0new Endpoint(KubernetesUtils.getInternalServiceName(clusterId) + STR0 + nameSpace,restPort)
ReturnsTrue
return ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(hostPlatformFromBuckConfig.get()));return Optional.of(ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(hostPlatformFromBuckConfig.get())));ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(hostPlatformFromBuckConfig.get()))Optional.of(ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(hostPlatformFromBuckConfig.get())))buck07a62768cccf84bd4e9cd23f6c9017ba34fe0770com.facebook.buck.cli.MainRunner
_11636
_21635
_1createHostConfiguration
_2createHostConfiguration
v0ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(hostPlatformFromBuckConfig.get()))
  • java.util.Optional
v0ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(hostPlatformFromBuckConfig.get()))
ReturnsTrue
return ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(unconfiguredBuildTargetFactory.create(cellPathResolver,command.getHostPlatform().get())));return Optional.of(ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(unconfiguredBuildTargetFactory.create(cellPathResolver,command.getHostPlatform().get()))));ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(unconfiguredBuildTargetFactory.create(cellPathResolver,command.getHostPlatform().get())))Optional.of(ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(unconfiguredBuildTargetFactory.create(cellPathResolver,command.getHostPlatform().get()))))buck07a62768cccf84bd4e9cd23f6c9017ba34fe0770com.facebook.buck.cli.MainRunner
_11636
_21635
_1createHostConfiguration
_2createHostConfiguration
v0ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(unconfiguredBuildTargetFactory.create(cellPathResolver,command.getHostPlatform().get())))
  • java.util.Optional
v0ImmutableRuleBasedTargetConfiguration.of(ConfigurationBuildTargets.convert(unconfiguredBuildTargetFactory.create(cellPathResolver,command.getHostPlatform().get())))
ReturnsTrue
return ImmutableRuleBasedTargetConfiguration.of(targetPlatform);return Optional.of(ImmutableRuleBasedTargetConfiguration.of(targetPlatform));ImmutableRuleBasedTargetConfiguration.of(targetPlatform)Optional.of(ImmutableRuleBasedTargetConfiguration.of(targetPlatform))buck07a62768cccf84bd4e9cd23f6c9017ba34fe0770com.facebook.buck.cli.MainRunner
_11611
_21611
_1createTargetConfiguration
_2createTargetConfiguration
v0ImmutableRuleBasedTargetConfiguration.of(targetPlatform)
  • java.util.Optional
v0ImmutableRuleBasedTargetConfiguration.of(targetPlatform)
ReturnsTrue
return String.format(STR0,rowLabels[j],columnLabels[i]);return Optional.of(String.format(STR0,rowLabels[j],columnLabels[i]));String.format(STR0,rowLabels[j],columnLabels[i])Optional.of(String.format(STR0,rowLabels[j],columnLabels[i]))smileae820cef1cad35a1c880311e66175665484edbdasmile.plot.swing.Heatmap
_1200
_2201
_1getToolTip
_2getToolTip
v0String.format(STR0,rowLabels[j],columnLabels[i])
  • java.util.Optional
v0String.format(STR0,rowLabels[j],columnLabels[i])
ReturnsTrue
return new ChecksumResult(rowCount,checksums);return Optional.of(new ChecksumResult(rowCount,checksums));new ChecksumResult(rowCount,checksums)Optional.of(new ChecksumResult(rowCount,checksums))presto1e070b2e42ff0c3a370bf4f410299786544a26c0com.facebook.presto.verifier.checksum.ChecksumResult
_158
_259
_1fromResultSet
_2fromResultSet
v0new ChecksumResult(rowCount,checksums)
  • java.util.Optional
v0new ChecksumResult(rowCount,checksums)
ReturnsTrue
return Pair.of(logConfigurationFile,loggerContext);return Optional.of(Pair.of(logConfigurationFile,loggerContext));Pair.of(logConfigurationFile,loggerContext)Optional.of(Pair.of(logConfigurationFile,loggerContext))case978e728823caf17df7d327a42d69f863553598borg.apereo.cas.web.report.util.ControllerUtils
_137
_238
_1buildLoggerContext
_2buildLoggerContext
v0Pair.of(logConfigurationFile,loggerContext)
  • java.util.Optional
v0Pair.of(logConfigurationFile,loggerContext)
ReturnsTrue
return BuildResult.success(rule,BuildRuleSuccessType.BUILT_LOCALLY,cacheResult);return Optional.of(BuildResult.success(rule,BuildRuleSuccessType.BUILT_LOCALLY,cacheResult));BuildResult.success(rule,BuildRuleSuccessType.BUILT_LOCALLY,cacheResult)Optional.of(BuildResult.success(rule,BuildRuleSuccessType.BUILT_LOCALLY,cacheResult))buckf3a46523d80f2ac1e0b77437cd29ee2501debdc9com.facebook.buck.rules.CachingBuildEngine
_1350
_2350
_1buildLocally
_2buildLocally
v0BuildResult.success(rule,BuildRuleSuccessType.BUILT_LOCALLY,cacheResult)
  • java.util.Optional
v0BuildResult.success(rule,BuildRuleSuccessType.BUILT_LOCALLY,cacheResult)
ReturnsTrue
return entries.get(index);return Optional.of(entries.get(index));entries.get(index)Optional.of(entries.get(index))buck9df4919844a4bc4975d2ffe8adf69b065a0ec467com.facebook.buck.rage.UserInput
_1109
_2110
_1selectOne
_2selectOne
v0entries.get(index)
  • java.util.Optional
v0entries.get(index)
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.security.access.TestAccessController.PingCoprocessor
_12570
_22566
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return VisibilityLabelsProtos.VisibilityLabelsService.newReflectiveService(this);return Optional.of(VisibilityLabelsProtos.VisibilityLabelsService.newReflectiveService(this));VisibilityLabelsProtos.VisibilityLabelsService.newReflectiveService(this)Optional.of(VisibilityLabelsProtos.VisibilityLabelsService.newReflectiveService(this))hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.security.visibility.VisibilityController
_1763
_2202
_1getService
_2getService
v0VisibilityLabelsProtos.VisibilityLabelsService.newReflectiveService(this)
  • java.util.Optional
v0VisibilityLabelsProtos.VisibilityLabelsService.newReflectiveService(this)
ReturnsTrue
return AuthenticationProtos.AuthenticationService.newReflectiveService(this);return Optional.of(AuthenticationProtos.AuthenticationService.newReflectiveService(this));AuthenticationProtos.AuthenticationService.newReflectiveService(this)Optional.of(AuthenticationProtos.AuthenticationService.newReflectiveService(this))hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.security.token.TokenProvider
_198
_298
_1getService
_2getService
v0AuthenticationProtos.AuthenticationService.newReflectiveService(this)
  • java.util.Optional
v0AuthenticationProtos.AuthenticationService.newReflectiveService(this)
ReturnsTrue
return AccessControlProtos.AccessControlService.newReflectiveService(this);return Optional.of(AccessControlProtos.AccessControlService.newReflectiveService(this));AccessControlProtos.AccessControlService.newReflectiveService(this)Optional.of(AccessControlProtos.AccessControlService.newReflectiveService(this))hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.security.access.AccessController
_12451
_21021
_1getService
_2getService
v0AccessControlProtos.AccessControlService.newReflectiveService(this)
  • java.util.Optional
v0AccessControlProtos.AccessControlService.newReflectiveService(this)
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint
_1124
_2122
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.BaseRowProcessorEndpoint
_185
_285
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return groupAdminService;return Optional.of(groupAdminService);groupAdminServiceOptional.of(groupAdminService)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint
_195
_297
_1getService
_2getService
v0groupAdminService
  • java.util.Optional
v0groupAdminService
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.example.RowCountEndpoint
_158
_257
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.example.RefreshHFilesEndpoint
_153
_253
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.example.BulkDeleteEndpoint
_1105
_2104
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.regionserver.TestServerCustomProtocol.PingHandler
_1127
_2126
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint.DummyRegionServerEndpoint
_1107
_2108
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.TestAsyncCoprocessorEndpoint.DummyRegionServerEndpoint
_1141
_2133
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.ProtobufCoprocessorService
_148
_247
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.ColumnAggregationEndpointWithErrors
_156
_256
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.ColumnAggregationEndpointNullResponse
_155
_253
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.ColumnAggregationEndpoint
_152
_252
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint
_1178
_2177
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.Export
_1314
_2313
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return this;return Optional.of(this);thisOptional.of(this)hbase97513466c05f5eaadb94425c98098063ac374098org.apache.hadoop.hbase.coprocessor.AggregateImplementation
_1502
_2502
_1getService
_2getService
v0this
  • java.util.Optional
v0this
ReturnsTrue
return DuoWeb.signRequest(duoProperties.getDuoIntegrationKey(),duoProperties.getDuoSecretKey(),duoProperties.getDuoApplicationKey(),uid);return Optional.of(DuoWeb.signRequest(duoProperties.getDuoIntegrationKey(),duoProperties.getDuoSecretKey(),duoProperties.getDuoApplicationKey(),uid));DuoWeb.signRequest(duoProperties.getDuoIntegrationKey(),duoProperties.getDuoSecretKey(),duoProperties.getDuoApplicationKey(),uid)Optional.of(DuoWeb.signRequest(duoProperties.getDuoIntegrationKey(),duoProperties.getDuoSecretKey(),duoProperties.getDuoApplicationKey(),uid))cas9c38831a8f44a054c6605255ab33bacb59563a02org.apereo.cas.adaptors.duo.authn.BasicDuoSecurityAuthenticationService
_141
_276
_1signRequestToken
_2signRequestToken
v0DuoWeb.signRequest(duoProperties.getDuoIntegrationKey(),duoProperties.getDuoSecretKey(),duoProperties.getDuoApplicationKey(),uid)
  • java.util.Optional
v0DuoWeb.signRequest(duoProperties.getDuoIntegrationKey(),duoProperties.getDuoSecretKey(),duoProperties.getDuoApplicationKey(),uid)
ReturnsTrue
return initCond.toString();return Optional.of(initCond.toString());initCond.toString()Optional.of(initCond.toString())java-driver0dc56d2ca3babe2e14b6f526c2fd6203e58f7b04com.datastax.oss.driver.internal.core.metadata.schema.DefaultAggregateMetadata
_196
_2106
_1formatInitCond
_2formatInitCond
v0initCond.toString()
  • java.util.Optional
v0initCond.toString()
ReturnsTrue
return stateTypeCodec.format(initCond);return Optional.of(stateTypeCodec.format(initCond));stateTypeCodec.format(initCond)Optional.of(stateTypeCodec.format(initCond))java-driver0dc56d2ca3babe2e14b6f526c2fd6203e58f7b04com.datastax.oss.driver.internal.core.metadata.schema.DefaultAggregateMetadata
_196
_2106
_1formatInitCond
_2formatInitCond
v0stateTypeCodec.format(initCond)
  • java.util.Optional
v0stateTypeCodec.format(initCond)
ReturnsTrue
return expectedSuperType.cast(instance);return Optional.of(expectedSuperType.cast(instance));expectedSuperType.cast(instance)Optional.of(expectedSuperType.cast(instance))java-driver1e7d46e108c3f3a9a17648beead13980b89878e8com.datastax.oss.driver.internal.core.util.Reflection
_146
_248
_1buildFromConfig
_2buildFromConfig
v0expectedSuperType.cast(instance)
  • java.util.Optional
v0expectedSuperType.cast(instance)
ReturnsTrue
return new ServerOperation(this,getProcId(),ReplaySyncReplicationWALCallable.class,builder.build().toByteArray());return Optional.of(new ServerOperation(this,getProcId(),ReplaySyncReplicationWALCallable.class,builder.build().toByteArray()));new ServerOperation(this,getProcId(),ReplaySyncReplicationWALCallable.class,builder.build().toByteArray())Optional.of(new ServerOperation(this,getProcId(),ReplaySyncReplicationWALCallable.class,builder.build().toByteArray()))hbasebdd2fc6149c1732d4f526dd1a31749e3ab896fc4org.apache.hadoop.hbase.master.replication.SyncReplicationReplayWALRemoteProcedure
_164
_265
_1remoteCallBuild
_2remoteCallBuild
v0new ServerOperation(this,getProcId(),ReplaySyncReplicationWALCallable.class,builder.build().toByteArray())
  • java.util.Optional
v0new ServerOperation(this,getProcId(),ReplaySyncReplicationWALCallable.class,builder.build().toByteArray())
ReturnsTrue
return new ServerOperation(this,getProcId(),RefreshPeerCallable.class,RefreshPeerParameter.newBuilder().setPeerId(peerId).setType(toPeerModificationType(type)).setTargetServer(ProtobufUtil.toServerName(remote)).setStage(stage).build().toByteArray());return Optional.of(new ServerOperation(this,getProcId(),RefreshPeerCallable.class,RefreshPeerParameter.newBuilder().setPeerId(peerId).setType(toPeerModificationType(type)).setTargetServer(ProtobufUtil.toServerName(remote)).setStage(stage).build().toByteArray()));new ServerOperation(this,getProcId(),RefreshPeerCallable.class,RefreshPeerParameter.newBuilder().setPeerId(peerId).setType(toPeerModificationType(type)).setTargetServer(ProtobufUtil.toServerName(remote)).setStage(stage).build().toByteArray())Optional.of(new ServerOperation(this,getProcId(),RefreshPeerCallable.class,RefreshPeerParameter.newBuilder().setPeerId(peerId).setType(toPeerModificationType(type)).setTargetServer(ProtobufUtil.toServerName(remote)).setStage(stage).build().toByteArray()))hbasebdd2fc6149c1732d4f526dd1a31749e3ab896fc4org.apache.hadoop.hbase.master.replication.RefreshPeerProcedure
_1114
_2116
_1remoteCallBuild
_2remoteCallBuild
v0new ServerOperation(this,getProcId(),RefreshPeerCallable.class,RefreshPeerParameter.newBuilder().setPeerId(peerId).setType(toPeerModificationType(type)).setTargetServer(ProtobufUtil.toServerName(remote)).setStage(stage).build().toByteArray())
  • java.util.Optional
v0new ServerOperation(this,getProcId(),RefreshPeerCallable.class,RefreshPeerParameter.newBuilder().setPeerId(peerId).setType(toPeerModificationType(type)).setTargetServer(ProtobufUtil.toServerName(remote)).setStage(stage).build().toByteArray())
ReturnsTrue
return (SwitchStmt)node;return Optional.of((SwitchStmt)node);(SwitchStmt)nodeOptional.of((SwitchStmt)node)javaparserb54617e765d73b3ce0d187cf12ad8da382bce439com.github.javaparser.symbolsolver.javaparser.Navigator
_1277
_2206
_1findSwitchHelper
_2findSwitchHelper
v0(SwitchStmt)node
  • java.util.Optional
v0(SwitchStmt)node
ReturnsTrue
return new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeSolver);return Optional.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeSolver));new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeSolver)Optional.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeSolver))javaparserc016ff81dcab197f73492cb87ad2492a0ea567b7com.github.javaparser.symbolsolver.reflectionmodel.ReflectionClassAdapter
_156
_256
_1getSuperClass
_2getSuperClass
v0new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeSolver)
  • java.util.Optional
v0new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeSolver)
ReturnsTrue
return new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeParameters,typeSolver);return Optional.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeParameters,typeSolver));new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeParameters,typeSolver)Optional.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeParameters,typeSolver))javaparserc016ff81dcab197f73492cb87ad2492a0ea567b7com.github.javaparser.symbolsolver.reflectionmodel.ReflectionClassAdapter
_156
_256
_1getSuperClass
_2getSuperClass
v0new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeParameters,typeSolver)
  • java.util.Optional
v0new ReferenceTypeImpl(new ReflectionClassDeclaration(clazz.getSuperclass(),typeSolver),typeParameters,typeSolver)
ReturnsTrue
return new ReferenceTypeImpl(superRRTD,typeSolver);return Optional.of(new ReferenceTypeImpl(superRRTD,typeSolver));new ReferenceTypeImpl(superRRTD,typeSolver)Optional.of(new ReferenceTypeImpl(superRRTD,typeSolver))javaparserc016ff81dcab197f73492cb87ad2492a0ea567b7com.github.javaparser.symbolsolver.javaparsermodel.declarations.JavaParserAnonymousClassDeclaration
_1113
_2122
_1getSuperClass
_2getSuperClass
v0new ReferenceTypeImpl(superRRTD,typeSolver)
  • java.util.Optional
v0new ReferenceTypeImpl(superRRTD,typeSolver)
ReturnsTrue
return JavaParserFactory.getContext(notMethod,typeSolver);return Optional.of(JavaParserFactory.getContext(notMethod,typeSolver));JavaParserFactory.getContext(notMethod,typeSolver)Optional.of(JavaParserFactory.getContext(notMethod,typeSolver))javaparserc016ff81dcab197f73492cb87ad2492a0ea567b7com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
_1115
_2114
_1getParent
_2getParent
v0JavaParserFactory.getContext(notMethod,typeSolver)
  • java.util.Optional
v0JavaParserFactory.getContext(notMethod,typeSolver)
ReturnsTrue
return JavaParserFactory.getContext(notMethod,typeSolver);return Optional.of(JavaParserFactory.getContext(notMethod,typeSolver));JavaParserFactory.getContext(notMethod,typeSolver)Optional.of(JavaParserFactory.getContext(notMethod,typeSolver))javaparserc016ff81dcab197f73492cb87ad2492a0ea567b7com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
_1115
_2114
_1getParent
_2getParent
v0JavaParserFactory.getContext(notMethod,typeSolver)
  • java.util.Optional
v0JavaParserFactory.getContext(notMethod,typeSolver)
ReturnsTrue
return splitAppID(appID).getFirst();return Optional.of(splitAppID(appID).getFirst());splitAppID(appID).getFirst()Optional.of(splitAppID(appID).getFirst())buckcda510a40509c2634c6c6a4fd34142e445686449com.facebook.buck.apple.AbstractProvisioningProfileMetadata
_1101
_2101
_1prefixFromEntitlements
_2prefixFromEntitlements
v0splitAppID(appID).getFirst()
  • java.util.Optional
v0splitAppID(appID).getFirst()
ReturnsTrue
return new SamlRegisteredServiceServiceProviderMetadataFacade(ssoDescriptor,entityDescriptor,chainingMetadataResolver);return Optional.of(new SamlRegisteredServiceServiceProviderMetadataFacade(ssoDescriptor,entityDescriptor,chainingMetadataResolver));new SamlRegisteredServiceServiceProviderMetadataFacade(ssoDescriptor,entityDescriptor,chainingMetadataResolver)Optional.of(new SamlRegisteredServiceServiceProviderMetadataFacade(ssoDescriptor,entityDescriptor,chainingMetadataResolver))casc9e33d14a0c69c586b2515fd9279aea2dc3fb18aorg.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade
_190
_290
_1get
_2get
v0new SamlRegisteredServiceServiceProviderMetadataFacade(ssoDescriptor,entityDescriptor,chainingMetadataResolver)
  • java.util.Optional
v0new SamlRegisteredServiceServiceProviderMetadataFacade(ssoDescriptor,entityDescriptor,chainingMetadataResolver)
ReturnsTrue
return new DummyQueryBuilder();return Optional.of(new DummyQueryBuilder());new DummyQueryBuilder()Optional.of(new DummyQueryBuilder())elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.plugin.DummyQueryParserPlugin.DummyQueryBuilder
_179
_257
_1fromXContent
_2fromXContent
v0new DummyQueryBuilder()
  • java.util.Optional
v0new DummyQueryBuilder()
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.percolator.PercolateQueryBuilder
_1238
_2239
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return functionScoreQueryBuilder;return Optional.of(functionScoreQueryBuilder);functionScoreQueryBuilderOptional.of(functionScoreQueryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder
_1441
_2441
_1fromXContent
_2fromXContent
v0functionScoreQueryBuilder
  • java.util.Optional
v0functionScoreQueryBuilder
ReturnsTrue
return new WrapperQueryBuilder(source);return Optional.of(new WrapperQueryBuilder(source));new WrapperQueryBuilder(source)Optional.of(new WrapperQueryBuilder(source))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.WrapperQueryBuilder
_1119
_2120
_1fromXContent
_2fromXContent
v0new WrapperQueryBuilder(source)
  • java.util.Optional
v0new WrapperQueryBuilder(source)
ReturnsTrue
return new WildcardQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName);return Optional.of(new WildcardQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName));new WildcardQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName)Optional.of(new WildcardQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.WildcardQueryBuilder
_1138
_2139
_1fromXContent
_2fromXContent
v0new WildcardQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName)
  • java.util.Optional
v0new WildcardQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName)
ReturnsTrue
return new TypeQueryBuilder(type).boost(boost).queryName(queryName);return Optional.of(new TypeQueryBuilder(type).boost(boost).queryName(queryName));new TypeQueryBuilder(type).boost(boost).queryName(queryName)Optional.of(new TypeQueryBuilder(type).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.TypeQueryBuilder
_184
_285
_1fromXContent
_2fromXContent
v0new TypeQueryBuilder(type).boost(boost).queryName(queryName)
  • java.util.Optional
v0new TypeQueryBuilder(type).boost(boost).queryName(queryName)
ReturnsTrue
return new TermsQueryBuilder(fieldName,values,termsLookup).boost(boost).queryName(queryName);return Optional.of(new TermsQueryBuilder(fieldName,values,termsLookup).boost(boost).queryName(queryName));new TermsQueryBuilder(fieldName,values,termsLookup).boost(boost).queryName(queryName)Optional.of(new TermsQueryBuilder(fieldName,values,termsLookup).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.TermsQueryBuilder
_1241
_2242
_1fromXContent
_2fromXContent
v0new TermsQueryBuilder(fieldName,values,termsLookup).boost(boost).queryName(queryName)
  • java.util.Optional
v0new TermsQueryBuilder(fieldName,values,termsLookup).boost(boost).queryName(queryName)
ReturnsTrue
return termQuery;return Optional.of(termQuery);termQueryOptional.of(termQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.TermQueryBuilder
_187
_288
_1fromXContent
_2fromXContent
v0termQuery
  • java.util.Optional
v0termQuery
ReturnsTrue
return new TemplateQueryBuilder(template);return Optional.of(new TemplateQueryBuilder(template));new TemplateQueryBuilder(template)Optional.of(new TemplateQueryBuilder(template))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.TemplateQueryBuilder
_1119
_2121
_1fromXContent
_2fromXContent
v0new TemplateQueryBuilder(template)
  • java.util.Optional
v0new TemplateQueryBuilder(template)
ReturnsTrue
return query;return Optional.of(query);queryOptional.of(query)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanWithinQueryBuilder
_1110
_2111
_1fromXContent
_2fromXContent
v0query
  • java.util.Optional
v0query
ReturnsTrue
return result;return Optional.of(result);resultOptional.of(result)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanTermQueryBuilder
_196
_297
_1fromXContent
_2fromXContent
v0result
  • java.util.Optional
v0result
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanOrQueryBuilder
_1102
_2103
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return spanNotQuery;return Optional.of(spanNotQuery);spanNotQueryOptional.of(spanNotQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanNotQueryBuilder
_1165
_2166
_1fromXContent
_2fromXContent
v0spanNotQuery
  • java.util.Optional
v0spanNotQuery
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanNearQueryBuilder
_1149
_2150
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return new SpanMultiTermQueryBuilder(subQuery).queryName(queryName).boost(boost);return Optional.of(new SpanMultiTermQueryBuilder(subQuery).queryName(queryName).boost(boost));new SpanMultiTermQueryBuilder(subQuery).queryName(queryName).boost(boost)Optional.of(new SpanMultiTermQueryBuilder(subQuery).queryName(queryName).boost(boost))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanMultiTermQueryBuilder
_185
_286
_1fromXContent
_2fromXContent
v0new SpanMultiTermQueryBuilder(subQuery).queryName(queryName).boost(boost)
  • java.util.Optional
v0new SpanMultiTermQueryBuilder(subQuery).queryName(queryName).boost(boost)
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanFirstQueryBuilder
_1104
_2105
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return query;return Optional.of(query);queryOptional.of(query)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SpanContainingQueryBuilder
_1105
_2106
_1fromXContent
_2fromXContent
v0query
  • java.util.Optional
v0query
ReturnsTrue
return qb;return Optional.of(qb);qbOptional.of(qb)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.SimpleQueryStringBuilder
_1420
_2421
_1fromXContent
_2fromXContent
v0qb
  • java.util.Optional
v0qb
ReturnsTrue
return new ScriptQueryBuilder(script).boost(boost).queryName(queryName);return Optional.of(new ScriptQueryBuilder(script).boost(boost).queryName(queryName));new ScriptQueryBuilder(script).boost(boost).queryName(queryName)Optional.of(new ScriptQueryBuilder(script).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.ScriptQueryBuilder
_197
_298
_1fromXContent
_2fromXContent
v0new ScriptQueryBuilder(script).boost(boost).queryName(queryName)
  • java.util.Optional
v0new ScriptQueryBuilder(script).boost(boost).queryName(queryName)
ReturnsTrue
return new RegexpQueryBuilder(fieldName,value).flags(flagsValue).maxDeterminizedStates(maxDeterminizedStates).rewrite(rewrite).boost(boost).queryName(queryName);return Optional.of(new RegexpQueryBuilder(fieldName,value).flags(flagsValue).maxDeterminizedStates(maxDeterminizedStates).rewrite(rewrite).boost(boost).queryName(queryName));new RegexpQueryBuilder(fieldName,value).flags(flagsValue).maxDeterminizedStates(maxDeterminizedStates).rewrite(rewrite).boost(boost).queryName(queryName)Optional.of(new RegexpQueryBuilder(fieldName,value).flags(flagsValue).maxDeterminizedStates(maxDeterminizedStates).rewrite(rewrite).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.RegexpQueryBuilder
_1182
_2183
_1fromXContent
_2fromXContent
v0new RegexpQueryBuilder(fieldName,value).flags(flagsValue).maxDeterminizedStates(maxDeterminizedStates).rewrite(rewrite).boost(boost).queryName(queryName)
  • java.util.Optional
v0new RegexpQueryBuilder(fieldName,value).flags(flagsValue).maxDeterminizedStates(maxDeterminizedStates).rewrite(rewrite).boost(boost).queryName(queryName)
ReturnsTrue
return rangeQuery;return Optional.of(rangeQuery);rangeQueryOptional.of(rangeQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.RangeQueryBuilder
_1300
_2301
_1fromXContent
_2fromXContent
v0rangeQuery
  • java.util.Optional
v0rangeQuery
ReturnsTrue
return queryStringQuery;return Optional.of(queryStringQuery);queryStringQueryOptional.of(queryStringQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.QueryStringQueryBuilder
_1634
_2635
_1fromXContent
_2fromXContent
v0queryStringQuery
  • java.util.Optional
v0queryStringQuery
ReturnsTrue
return new PrefixQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName);return Optional.of(new PrefixQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName));new PrefixQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName)Optional.of(new PrefixQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.PrefixQueryBuilder
_1121
_2122
_1fromXContent
_2fromXContent
v0new PrefixQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName)
  • java.util.Optional
v0new PrefixQueryBuilder(fieldName,value).rewrite(rewrite).boost(boost).queryName(queryName)
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.ParentIdQueryBuilder
_1120
_2121
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.NestedQueryBuilder
_1159
_2160
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return moreLikeThisQueryBuilder;return Optional.of(moreLikeThisQueryBuilder);moreLikeThisQueryBuilderOptional.of(moreLikeThisQueryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.MoreLikeThisQueryBuilder
_1808
_2808
_1fromXContent
_2fromXContent
v0moreLikeThisQueryBuilder
  • java.util.Optional
v0moreLikeThisQueryBuilder
ReturnsTrue
return matchQuery;return Optional.of(matchQuery);matchQueryOptional.of(matchQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.MatchQueryBuilder
_1510
_2511
_1fromXContent
_2fromXContent
v0matchQuery
  • java.util.Optional
v0matchQuery
ReturnsTrue
return matchQuery;return Optional.of(matchQuery);matchQueryOptional.of(matchQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.MatchPhraseQueryBuilder
_1164
_2166
_1fromXContent
_2fromXContent
v0matchQuery
  • java.util.Optional
v0matchQuery
ReturnsTrue
return matchQuery;return Optional.of(matchQuery);matchQueryOptional.of(matchQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.MatchPhrasePrefixQueryBuilder
_1194
_2195
_1fromXContent
_2fromXContent
v0matchQuery
  • java.util.Optional
v0matchQuery
ReturnsTrue
return matchNoneQueryBuilder;return Optional.of(matchNoneQueryBuilder);matchNoneQueryBuilderOptional.of(matchNoneQueryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.MatchNoneQueryBuilder
_163
_264
_1fromXContent
_2fromXContent
v0matchNoneQueryBuilder
  • java.util.Optional
v0matchNoneQueryBuilder
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.MatchAllQueryBuilder
_163
_264
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return new IndicesQueryBuilder(innerQuery,indices.toArray(new String[indices.size()])).noMatchQuery(noMatchQuery).boost(boost).queryName(queryName);return Optional.of(new IndicesQueryBuilder(innerQuery,indices.toArray(new String[indices.size()])).noMatchQuery(noMatchQuery).boost(boost).queryName(queryName));new IndicesQueryBuilder(innerQuery,indices.toArray(new String[indices.size()])).noMatchQuery(noMatchQuery).boost(boost).queryName(queryName)Optional.of(new IndicesQueryBuilder(innerQuery,indices.toArray(new String[indices.size()])).noMatchQuery(noMatchQuery).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.IndicesQueryBuilder
_1144
_2145
_1fromXContent
_2fromXContent
v0new IndicesQueryBuilder(innerQuery,indices.toArray(new String[indices.size()])).noMatchQuery(noMatchQuery).boost(boost).queryName(queryName)
  • java.util.Optional
v0new IndicesQueryBuilder(innerQuery,indices.toArray(new String[indices.size()])).noMatchQuery(noMatchQuery).boost(boost).queryName(queryName)
ReturnsTrue
return query;return Optional.of(query);queryOptional.of(query)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.IdsQueryBuilder
_1130
_2131
_1fromXContent
_2fromXContent
v0query
  • java.util.Optional
v0query
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.HasParentQueryBuilder
_1230
_2231
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return hasChildQueryBuilder;return Optional.of(hasChildQueryBuilder);hasChildQueryBuilderOptional.of(hasChildQueryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.HasChildQueryBuilder
_1229
_2230
_1fromXContent
_2fromXContent
v0hasChildQueryBuilder
  • java.util.Optional
v0hasChildQueryBuilder
ReturnsTrue
return builder;return Optional.of(builder);builderOptional.of(builder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.GeohashCellQuery.Builder
_1283
_2284
_1fromXContent
_2fromXContent
v0builder
  • java.util.Optional
v0builder
ReturnsTrue
return builder;return Optional.of(builder);builderOptional.of(builder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.GeoShapeQueryBuilder
_1456
_2457
_1fromXContent
_2fromXContent
v0builder
  • java.util.Optional
v0builder
ReturnsTrue
return builder;return Optional.of(builder);builderOptional.of(builder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.GeoPolygonQueryBuilder
_1244
_2245
_1fromXContent
_2fromXContent
v0builder
  • java.util.Optional
v0builder
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.GeoDistanceRangeQueryBuilder
_1394
_2395
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return qb;return Optional.of(qb);qbOptional.of(qb)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.GeoDistanceQueryBuilder
_1333
_2334
_1fromXContent
_2fromXContent
v0qb
  • java.util.Optional
v0qb
ReturnsTrue
return builder;return Optional.of(builder);builderOptional.of(builder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.GeoBoundingBoxQueryBuilder
_1388
_2389
_1fromXContent
_2fromXContent
v0builder
  • java.util.Optional
v0builder
ReturnsTrue
return new FuzzyQueryBuilder(fieldName,value).fuzziness(fuzziness).prefixLength(prefixLength).maxExpansions(maxExpansions).transpositions(transpositions).rewrite(rewrite).boost(boost).queryName(queryName);return Optional.of(new FuzzyQueryBuilder(fieldName,value).fuzziness(fuzziness).prefixLength(prefixLength).maxExpansions(maxExpansions).transpositions(transpositions).rewrite(rewrite).boost(boost).queryName(queryName));new FuzzyQueryBuilder(fieldName,value).fuzziness(fuzziness).prefixLength(prefixLength).maxExpansions(maxExpansions).transpositions(transpositions).rewrite(rewrite).boost(boost).queryName(queryName)Optional.of(new FuzzyQueryBuilder(fieldName,value).fuzziness(fuzziness).prefixLength(prefixLength).maxExpansions(maxExpansions).transpositions(transpositions).rewrite(rewrite).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.FuzzyQueryBuilder
_1260
_2261
_1fromXContent
_2fromXContent
v0new FuzzyQueryBuilder(fieldName,value).fuzziness(fuzziness).prefixLength(prefixLength).maxExpansions(maxExpansions).transpositions(transpositions).rewrite(rewrite).boost(boost).queryName(queryName)
  • java.util.Optional
v0new FuzzyQueryBuilder(fieldName,value).fuzziness(fuzziness).prefixLength(prefixLength).maxExpansions(maxExpansions).transpositions(transpositions).rewrite(rewrite).boost(boost).queryName(queryName)
ReturnsTrue
return queryBuilder;return Optional.of(queryBuilder);queryBuilderOptional.of(queryBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.FieldMaskingSpanQueryBuilder
_1106
_2107
_1fromXContent
_2fromXContent
v0queryBuilder
  • java.util.Optional
v0queryBuilder
ReturnsTrue
return builder;return Optional.of(builder);builderOptional.of(builder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.ExistsQueryBuilder
_188
_289
_1fromXContent
_2fromXContent
v0builder
  • java.util.Optional
v0builder
ReturnsTrue
return disMaxQuery;return Optional.of(disMaxQuery);disMaxQueryOptional.of(disMaxQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.DisMaxQueryBuilder
_1125
_2126
_1fromXContent
_2fromXContent
v0disMaxQuery
  • java.util.Optional
v0disMaxQuery
ReturnsTrue
return constantScoreBuilder;return Optional.of(constantScoreBuilder);constantScoreBuilderOptional.of(constantScoreBuilder)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.ConstantScoreQueryBuilder
_190
_291
_1fromXContent
_2fromXContent
v0constantScoreBuilder
  • java.util.Optional
v0constantScoreBuilder
ReturnsTrue
return new CommonTermsQueryBuilder(fieldName,text).lowFreqMinimumShouldMatch(lowFreqMinimumShouldMatch).highFreqMinimumShouldMatch(highFreqMinimumShouldMatch).analyzer(analyzer).highFreqOperator(highFreqOperator).lowFreqOperator(lowFreqOperator).disableCoord(disableCoord).cutoffFrequency(cutoffFrequency).boost(boost).queryName(queryName);return Optional.of(new CommonTermsQueryBuilder(fieldName,text).lowFreqMinimumShouldMatch(lowFreqMinimumShouldMatch).highFreqMinimumShouldMatch(highFreqMinimumShouldMatch).analyzer(analyzer).highFreqOperator(highFreqOperator).lowFreqOperator(lowFreqOperator).disableCoord(disableCoord).cutoffFrequency(cutoffFrequency).boost(boost).queryName(queryName));new CommonTermsQueryBuilder(fieldName,text).lowFreqMinimumShouldMatch(lowFreqMinimumShouldMatch).highFreqMinimumShouldMatch(highFreqMinimumShouldMatch).analyzer(analyzer).highFreqOperator(highFreqOperator).lowFreqOperator(lowFreqOperator).disableCoord(disableCoord).cutoffFrequency(cutoffFrequency).boost(boost).queryName(queryName)Optional.of(new CommonTermsQueryBuilder(fieldName,text).lowFreqMinimumShouldMatch(lowFreqMinimumShouldMatch).highFreqMinimumShouldMatch(highFreqMinimumShouldMatch).analyzer(analyzer).highFreqOperator(highFreqOperator).lowFreqOperator(lowFreqOperator).disableCoord(disableCoord).cutoffFrequency(cutoffFrequency).boost(boost).queryName(queryName))elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.CommonTermsQueryBuilder
_1266
_2267
_1fromXContent
_2fromXContent
v0new CommonTermsQueryBuilder(fieldName,text).lowFreqMinimumShouldMatch(lowFreqMinimumShouldMatch).highFreqMinimumShouldMatch(highFreqMinimumShouldMatch).analyzer(analyzer).highFreqOperator(highFreqOperator).lowFreqOperator(lowFreqOperator).disableCoord(disableCoord).cutoffFrequency(cutoffFrequency).boost(boost).queryName(queryName)
  • java.util.Optional
v0new CommonTermsQueryBuilder(fieldName,text).lowFreqMinimumShouldMatch(lowFreqMinimumShouldMatch).highFreqMinimumShouldMatch(highFreqMinimumShouldMatch).analyzer(analyzer).highFreqOperator(highFreqOperator).lowFreqOperator(lowFreqOperator).disableCoord(disableCoord).cutoffFrequency(cutoffFrequency).boost(boost).queryName(queryName)
ReturnsTrue
return boostingQuery;return Optional.of(boostingQuery);boostingQueryOptional.of(boostingQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.BoostingQueryBuilder
_1141
_2142
_1fromXContent
_2fromXContent
v0boostingQuery
  • java.util.Optional
v0boostingQuery
ReturnsTrue
return boolQuery;return Optional.of(boolQuery);boolQueryOptional.of(boolQuery)elasticsearch359f45988fa5550ff44a0f805fa050eb9a221405org.elasticsearch.index.query.BoolQueryBuilder
_1303
_2304
_1fromXContent
_2fromXContent
v0boolQuery
  • java.util.Optional
v0boolQuery
ReturnsTrue
return validator;return Optional.of(validator);validatorOptional.of(validator)javaparser6036e9961e7f8ea8f94c7d9b3ab9160b517d156bcom.github.javaparser.ParserConfiguration
_1103
_2135
_1getValidator
_2getValidator
v0validator
  • java.util.Optional
v0validator
ReturnsTrue
return err.getMessage();return Optional.of(err.getMessage());err.getMessage()Optional.of(err.getMessage())prestoccf8582158cc67d73bb8124ba1ea233dc7c0f73bcom.facebook.presto.geospatial.GeometryUtils
_1292
_2293
_1getGeometryInvalidReason
_2getGeometryInvalidReason
v0err.getMessage()
  • java.util.Optional
v0err.getMessage()
ReturnsTrue
return rexBuilder().makeInputRef(TypeUtils.toSimpleRelDataType(columnRef.getType().getKind(),rexBuilder(),nullable),off);return Optional.of(rexBuilder().makeInputRef(TypeUtils.toSimpleRelDataType(columnRef.getType().getKind(),rexBuilder(),nullable),off));rexBuilder().makeInputRef(TypeUtils.toSimpleRelDataType(columnRef.getType().getKind(),rexBuilder(),nullable),off)Optional.of(rexBuilder().makeInputRef(TypeUtils.toSimpleRelDataType(columnRef.getType().getKind(),rexBuilder(),nullable),off))beam8915d6e95c405aeee0f29152545d3210e8e09f1forg.apache.beam.sdk.extensions.sql.zetasql.translation.ExpressionConverter
_1968
_2979
_1convertRexNodeFromResolvedColumnRefWithRefScan
_2convertRexNodeFromResolvedColumnRefWithRefScan
v0rexBuilder().makeInputRef(TypeUtils.toSimpleRelDataType(columnRef.getType().getKind(),rexBuilder(),nullable),off)
  • java.util.Optional
v0rexBuilder().makeInputRef(TypeUtils.toSimpleRelDataType(columnRef.getType().getKind(),rexBuilder(),nullable),off)
ReturnsTrue
return classType.cast(parent);return Optional.of(classType.cast(parent));classType.cast(parent)Optional.of(classType.cast(parent))javaparser1ff8db9b9d9fdd6c9655d9d37761a00e98ab6d04com.github.javaparser.HasParentNode
_153
_253
_1getAncestorOfType
_2getAncestorOfType
v0classType.cast(parent)
  • java.util.Optional
v0classType.cast(parent)
ReturnsTrue
return InetAddress.getByName(hostOrAddress);return Optional.of(InetAddress.getByName(hostOrAddress));InetAddress.getByName(hostOrAddress)Optional.of(InetAddress.getByName(hostOrAddress))sonarqubeaccb6a680a3f6d5bd6925067ba4e9f09dd3d1a57org.sonar.process.NetworkUtilsImpl
_197
_2109
_1toInetAddress
_2toInetAddress
v0InetAddress.getByName(hostOrAddress)
  • java.util.Optional
v0InetAddress.getByName(hostOrAddress)
ReturnsTrue
return InetAddresses.forString(hostOrAddress);return Optional.of(InetAddresses.forString(hostOrAddress));InetAddresses.forString(hostOrAddress)Optional.of(InetAddresses.forString(hostOrAddress))sonarqubeaccb6a680a3f6d5bd6925067ba4e9f09dd3d1a57org.sonar.process.NetworkUtilsImpl
_197
_2109
_1toInetAddress
_2toInetAddress
v0InetAddresses.forString(hostOrAddress)
  • java.util.Optional
v0InetAddresses.forString(hostOrAddress)
ReturnsTrue
return type;return Optional.of(type);typeOptional.of(type)prestodd93677651267518e2708a09642515bb9cb19a55com.facebook.presto.hive.parquet.ParquetPageSourceFactory
_1281
_2281
_1getParquetType
_2getParquetType
v0type
  • java.util.Optional
v0type
ReturnsTrue
return new LongDecimalColumnReader(descriptor);return Optional.of(new LongDecimalColumnReader(descriptor));new LongDecimalColumnReader(descriptor)Optional.of(new LongDecimalColumnReader(descriptor))presto51a59610d1a347336ff472e3186b590855137811com.facebook.presto.parquet.reader.DecimalColumnReaderFactory
_123
_266
_1createReader
_2createDecimalColumnReader
v0new LongDecimalColumnReader(descriptor)
  • java.util.Optional
v0new LongDecimalColumnReader(descriptor)
ReturnsTrue
return new ShortDecimalColumnReader(descriptor);return Optional.of(new ShortDecimalColumnReader(descriptor));new ShortDecimalColumnReader(descriptor)Optional.of(new ShortDecimalColumnReader(descriptor))presto51a59610d1a347336ff472e3186b590855137811com.facebook.presto.parquet.reader.DecimalColumnReaderFactory
_123
_266
_1createReader
_2createDecimalColumnReader
v0new ShortDecimalColumnReader(descriptor)
  • java.util.Optional
v0new ShortDecimalColumnReader(descriptor)
ReturnsTrue
return id;return Optional.of(id);idOptional.of(id)java-driver00a463896f48bf9f45a45d7687e7c9f681e99b04com.datastax.oss.driver.internal.core.metadata.schema.DefaultViewMetadata
_182
_282
_1getId
_2getId
v0id
  • java.util.Optional
v0id
ReturnsTrue
return new RequestObj2(request.headers().method().name());return Optional.of(new RequestObj2(request.headers().method().name()));new RequestObj2(request.headers().method().name())Optional.of(new RequestObj2(request.headers().method().name()))armeria9c965564ccf4e8792dffc901a9e4c201bdeb5e86com.linecorp.armeria.server.AnnotatedHttpServiceRequestConverterTest.TestRequestConverter2
_1201
_2210
_1convertRequest
_2convertRequest
v0new RequestObj2(request.headers().method().name())
  • java.util.Optional
v0new RequestObj2(request.headers().method().name())
ReturnsTrue
return mapper.readValue(request.content().toStringUtf8(),RequestObj1.class);return Optional.of(mapper.readValue(request.content().toStringUtf8(),RequestObj1.class));mapper.readValue(request.content().toStringUtf8(),RequestObj1.class)Optional.of(mapper.readValue(request.content().toStringUtf8(),RequestObj1.class))armeria9c965564ccf4e8792dffc901a9e4c201bdeb5e86com.linecorp.armeria.server.AnnotatedHttpServiceRequestConverterTest.TestRequestConverter1
_1170
_2202
_1convertRequest
_2convertRequest
v0mapper.readValue(request.content().toStringUtf8(),RequestObj1.class)
  • java.util.Optional
v0mapper.readValue(request.content().toStringUtf8(),RequestObj1.class)
ReturnsTrue
return result;return Optional.of(result);resultOptional.of(result)orientdb4f4e2fddd2bef3b5b7e006f7bafab863748ab8f6com.orientechnologies.orient.client.remote.message.OQueryResponse
_1111
_2105
_1readExecutionPlan
_2readExecutionPlan
v0result
  • java.util.Optional
v0result
ReturnsTrue
return child;return Optional.of(child);childOptional.of(child)infinispan4704bdeccee18222c0cda0e0bd85558defec2092org.infinispan.tools.licenses.LicenseMerger
_186
_252
_1findFirstChildByTagName
_2findFirstChildByTagName
v0child
  • java.util.Optional
v0child
ReturnsTrue
return input.mapOutputRowCount(rowCount -> min(statsSum.getOutputRowCount(),notNullValuesBeforeIn)).mapSymbolColumnStatistics(inValueSymbol,oldSymbolStats -> newSymbolStats);return Optional.of(input.mapOutputRowCount(rowCount -> min(statsSum.getOutputRowCount(),notNullValuesBeforeIn)).mapSymbolColumnStatistics(inValueSymbol,oldSymbolStats -> newSymbolStats));input.mapOutputRowCount(rowCount -> min(statsSum.getOutputRowCount(),notNullValuesBeforeIn)).mapSymbolColumnStatistics(inValueSymbol,oldSymbolStats -> newSymbolStats)Optional.of(input.mapOutputRowCount(rowCount -> min(statsSum.getOutputRowCount(),notNullValuesBeforeIn)).mapSymbolColumnStatistics(inValueSymbol,oldSymbolStats -> newSymbolStats))prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.FilterStatsCalculator.FilterExpressionStatsCalculatingVisitor
_1214
_2241
_1visitInPredicate
_2visitInPredicate
v0input.mapOutputRowCount(rowCount -> min(statsSum.getOutputRowCount(),notNullValuesBeforeIn)).mapSymbolColumnStatistics(inValueSymbol,oldSymbolStats -> newSymbolStats)
  • java.util.Optional
v0input.mapOutputRowCount(rowCount -> min(statsSum.getOutputRowCount(),notNullValuesBeforeIn)).mapSymbolColumnStatistics(inValueSymbol,oldSymbolStats -> newSymbolStats)
ReturnsTrue
return input.mapOutputRowCount(rowCount -> rowCount * symbolStatsEstimate.getNullsFraction()).mapSymbolColumnStatistics(symbol,statsEstimate -> SymbolStatsEstimate.builder().setNullsFraction(1.0).setLowValue(NaN).setHighValue(NaN).setDistinctValuesCount(0.0).build());return Optional.of(input.mapOutputRowCount(rowCount -> rowCount * symbolStatsEstimate.getNullsFraction()).mapSymbolColumnStatistics(symbol,statsEstimate -> SymbolStatsEstimate.builder().setNullsFraction(1.0).setLowValue(NaN).setHighValue(NaN).setDistinctValuesCount(0.0).build()));input.mapOutputRowCount(rowCount -> rowCount * symbolStatsEstimate.getNullsFraction()).mapSymbolColumnStatistics(symbol,statsEstimate -> SymbolStatsEstimate.builder().setNullsFraction(1.0).setLowValue(NaN).setHighValue(NaN).setDistinctValuesCount(0.0).build())Optional.of(input.mapOutputRowCount(rowCount -> rowCount * symbolStatsEstimate.getNullsFraction()).mapSymbolColumnStatistics(symbol,statsEstimate -> SymbolStatsEstimate.builder().setNullsFraction(1.0).setLowValue(NaN).setHighValue(NaN).setDistinctValuesCount(0.0).build()))prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.FilterStatsCalculator.FilterExpressionStatsCalculatingVisitor
_1169
_2196
_1visitIsNullPredicate
_2visitIsNullPredicate
v0input.mapOutputRowCount(rowCount -> rowCount * symbolStatsEstimate.getNullsFraction()).mapSymbolColumnStatistics(symbol,statsEstimate -> SymbolStatsEstimate.builder().setNullsFraction(1.0).setLowValue(NaN).setHighValue(NaN).setDistinctValuesCount(0.0).build())
  • java.util.Optional
v0input.mapOutputRowCount(rowCount -> rowCount * symbolStatsEstimate.getNullsFraction()).mapSymbolColumnStatistics(symbol,statsEstimate -> SymbolStatsEstimate.builder().setNullsFraction(1.0).setLowValue(NaN).setHighValue(NaN).setDistinctValuesCount(0.0).build())
ReturnsTrue
return input.mapOutputRowCount(rowCount -> rowCount * (1 - symbolStatsEstimate.getNullsFraction())).mapSymbolColumnStatistics(symbol,statsEstimate -> statsEstimate.mapNullsFraction(x -> 0.0));return Optional.of(input.mapOutputRowCount(rowCount -> rowCount * (1 - symbolStatsEstimate.getNullsFraction())).mapSymbolColumnStatistics(symbol,statsEstimate -> statsEstimate.mapNullsFraction(x -> 0.0)));input.mapOutputRowCount(rowCount -> rowCount * (1 - symbolStatsEstimate.getNullsFraction())).mapSymbolColumnStatistics(symbol,statsEstimate -> statsEstimate.mapNullsFraction(x -> 0.0))Optional.of(input.mapOutputRowCount(rowCount -> rowCount * (1 - symbolStatsEstimate.getNullsFraction())).mapSymbolColumnStatistics(symbol,statsEstimate -> statsEstimate.mapNullsFraction(x -> 0.0)))prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.FilterStatsCalculator.FilterExpressionStatsCalculatingVisitor
_1156
_2184
_1visitIsNotNullPredicate
_2visitIsNotNullPredicate
v0input.mapOutputRowCount(rowCount -> rowCount * (1 - symbolStatsEstimate.getNullsFraction())).mapSymbolColumnStatistics(symbol,statsEstimate -> statsEstimate.mapNullsFraction(x -> 0.0))
  • java.util.Optional
v0input.mapOutputRowCount(rowCount -> rowCount * (1 - symbolStatsEstimate.getNullsFraction())).mapSymbolColumnStatistics(symbol,statsEstimate -> statsEstimate.mapNullsFraction(x -> 0.0))
ReturnsTrue
return input;return Optional.of(input);inputOptional.of(input)prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.FilterStatsCalculator.FilterExpressionStatsCalculatingVisitor
_1147
_2175
_1visitBooleanLiteral
_2visitBooleanLiteral
v0input
  • java.util.Optional
v0input
ReturnsTrue
return falseStatsBuilder.setOutputRowCount(0.0).build();return Optional.of(falseStatsBuilder.setOutputRowCount(0.0).build());falseStatsBuilder.setOutputRowCount(0.0).build()Optional.of(falseStatsBuilder.setOutputRowCount(0.0).build())prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.FilterStatsCalculator.FilterExpressionStatsCalculatingVisitor
_1114
_2112
_1filterForFalseExpression
_2filterForFalseExpression
v0falseStatsBuilder.setOutputRowCount(0.0).build()
  • java.util.Optional
v0falseStatsBuilder.setOutputRowCount(0.0).build()
ReturnsTrue
return resultStats;return Optional.of(resultStats);resultStatsOptional.of(resultStats)prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.ComparisonStatsCalculator
_1223
_2222
_1expressionToExpressionNonEquality
_2expressionToExpressionNonEquality
v0resultStats
  • java.util.Optional
v0resultStats
ReturnsTrue
return estimate.build();return Optional.of(estimate.build());estimate.build()Optional.of(estimate.build())prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.ComparisonStatsCalculator
_1172
_2171
_1expressionToExpressionEquality
_2expressionToExpressionEquality
v0estimate.build()
  • java.util.Optional
v0estimate.build()
ReturnsTrue
return estimate.build();return Optional.of(estimate.build());estimate.build()Optional.of(estimate.build())prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.ComparisonStatsCalculator
_1101
_2100
_1expressionToLiteralNonEquality
_2expressionToLiteralNonEquality
v0estimate.build()
  • java.util.Optional
v0estimate.build()
ReturnsTrue
return estimate;return Optional.of(estimate);estimateOptional.of(estimate)prestobb2d575dc32d805f65c7783e603d779c5685ace2com.facebook.presto.cost.ComparisonStatsCalculator
_161
_260
_1expressionToLiteralRangeComparison
_2expressionToLiteralRangeComparison
v0estimate
  • java.util.Optional
v0estimate
ReturnsTrue
return new BufferAndAvailability(EventSerializer.toBuffer(event),moreAvailable,0);return Optional.of(new BufferAndAvailability(EventSerializer.toBuffer(event),moreAvailable,0));new BufferAndAvailability(EventSerializer.toBuffer(event),moreAvailable,0)Optional.of(new BufferAndAvailability(EventSerializer.toBuffer(event),moreAvailable,0))flink5b1e127f7b3acd8f82893dda394fbcb7fe93d20dorg.apache.flink.runtime.io.network.partition.consumer.StreamTestSingleInputGate.setupInputChannels.answer
_197
_298
_1answer
_2answer
v0new BufferAndAvailability(EventSerializer.toBuffer(event),moreAvailable,0)
  • java.util.Optional
v0new BufferAndAvailability(EventSerializer.toBuffer(event),moreAvailable,0)
ReturnsTrue
return new BufferAndAvailability(buildSingleBuffer(bufferBuilder),moreAvailable,0);return Optional.of(new BufferAndAvailability(buildSingleBuffer(bufferBuilder),moreAvailable,0));new BufferAndAvailability(buildSingleBuffer(bufferBuilder),moreAvailable,0)Optional.of(new BufferAndAvailability(buildSingleBuffer(bufferBuilder),moreAvailable,0))flink5b1e127f7b3acd8f82893dda394fbcb7fe93d20dorg.apache.flink.runtime.io.network.partition.consumer.StreamTestSingleInputGate.setupInputChannels.answer
_197
_298
_1answer
_2answer
v0new BufferAndAvailability(buildSingleBuffer(bufferBuilder),moreAvailable,0)
  • java.util.Optional
v0new BufferAndAvailability(buildSingleBuffer(bufferBuilder),moreAvailable,0)
ReturnsTrue
return new BufferAndAvailability(EventSerializer.toBuffer(EndOfPartitionEvent.INSTANCE),moreAvailable,0);return Optional.of(new BufferAndAvailability(EventSerializer.toBuffer(EndOfPartitionEvent.INSTANCE),moreAvailable,0));new BufferAndAvailability(EventSerializer.toBuffer(EndOfPartitionEvent.INSTANCE),moreAvailable,0)Optional.of(new BufferAndAvailability(EventSerializer.toBuffer(EndOfPartitionEvent.INSTANCE),moreAvailable,0))flink5b1e127f7b3acd8f82893dda394fbcb7fe93d20dorg.apache.flink.runtime.io.network.partition.consumer.StreamTestSingleInputGate.setupInputChannels.answer
_197
_298
_1answer
_2answer
v0new BufferAndAvailability(EventSerializer.toBuffer(EndOfPartitionEvent.INSTANCE),moreAvailable,0)
  • java.util.Optional
v0new BufferAndAvailability(EventSerializer.toBuffer(EndOfPartitionEvent.INSTANCE),moreAvailable,0)
ReturnsTrue
return new BufferAndAvailability(next,remaining > 0,getSenderBacklog());return Optional.of(new BufferAndAvailability(next,remaining > 0,getSenderBacklog()));new BufferAndAvailability(next,remaining > 0,getSenderBacklog())Optional.of(new BufferAndAvailability(next,remaining > 0,getSenderBacklog()))flink5b1e127f7b3acd8f82893dda394fbcb7fe93d20dorg.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannel
_1185
_2186
_1getNextBuffer
_2getNextBuffer
v0new BufferAndAvailability(next,remaining > 0,getSenderBacklog())
  • java.util.Optional
v0new BufferAndAvailability(next,remaining > 0,getSenderBacklog())
ReturnsTrue
return ASTHelpers.getSymbol(exp).getSimpleName().toString();return Optional.of(ASTHelpers.getSymbol(exp).getSimpleName().toString());ASTHelpers.getSymbol(exp).getSimpleName().toString()Optional.of(ASTHelpers.getSymbol(exp).getSimpleName().toString())error-prone9e83b82124793c5d36867e84e0821b31e3a045f0com.google.errorprone.bugpatterns.ArgumentParameterSwap
_1137
_2145
_1getRelevantName
_2getRelevantName
v0ASTHelpers.getSymbol(exp).getSimpleName().toString()
  • java.util.Optional
v0ASTHelpers.getSymbol(exp).getSimpleName().toString()
ReturnsTrue
return ((MemberSelectTree)exp).getIdentifier().toString();return Optional.of(((MemberSelectTree)exp).getIdentifier().toString());((MemberSelectTree)exp).getIdentifier().toString()Optional.of(((MemberSelectTree)exp).getIdentifier().toString())error-prone9e83b82124793c5d36867e84e0821b31e3a045f0com.google.errorprone.bugpatterns.ArgumentParameterSwap
_1137
_2145
_1getRelevantName
_2getRelevantName
v0((MemberSelectTree)exp).getIdentifier().toString()
  • java.util.Optional
v0((MemberSelectTree)exp).getIdentifier().toString()
ReturnsTrue
return new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2 + STR3,deprecations.toString());return Optional.of(new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2 + STR3,deprecations.toString()));new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2 + STR3,deprecations.toString())Optional.of(new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2 + STR3,deprecations.toString()))elasticsearchd4d56cb5ffca1fc6f11e616ae54f4391333ea863org.elasticsearch.xpack.deprecation.MlDeprecationChecks
_134
_236
_1checkDataFeedAggregations
_2checkDataFeedAggregations
v0new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2 + STR3,deprecations.toString())
  • java.util.Optional
v0new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2 + STR3,deprecations.toString())
ReturnsTrue
return new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2,deprecations.toString());return Optional.of(new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2,deprecations.toString()));new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2,deprecations.toString())Optional.of(new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2,deprecations.toString()))elasticsearchd4d56cb5ffca1fc6f11e616ae54f4391333ea863org.elasticsearch.xpack.deprecation.MlDeprecationChecks
_122
_224
_1checkDataFeedQuery
_2checkDataFeedQuery
v0new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2,deprecations.toString())
  • java.util.Optional
v0new DeprecationIssue(DeprecationIssue.Level.WARNING,STR0 + datafeedConfig.getId() + STR1,STR2,deprecations.toString())
ReturnsTrue
return new Credentials(login,password);return Optional.of(new Credentials(login,password));new Credentials(login,password)Optional.of(new Credentials(login,password))sonarqube707886efe083ba5b07becb9554b599ab406ef873org.sonar.server.authentication.BasicAuthentication
_175
_264
_1extractCredentials
_2extractCredentialsFromHeader
v0new Credentials(login,password)
  • java.util.Optional
v0new Credentials(login,password)
ReturnsTrue
return finishedTests.get(testIdentifier);return Optional.of(finishedTests.get(testIdentifier));finishedTests.get(testIdentifier)Optional.of(finishedTests.get(testIdentifier))junit578e6621683777fe2b5ed592c3ce5b28378d01daforg.junit.gen5.console.tasks.XmlReportData
_192
_289
_1getResult
_2getResult
v0finishedTests.get(testIdentifier)
  • java.util.Optional
v0finishedTests.get(testIdentifier)
ReturnsTrue
return CellUtil.cloneRow(midkey);return Optional.of(CellUtil.cloneRow(midkey));CellUtil.cloneRow(midkey)Optional.of(CellUtil.cloneRow(midkey))hbaseee0f148c730e0ae1cb616406166487fba78a2298org.apache.hadoop.hbase.regionserver.StoreFile
_1701
_2117
_1getFileSplitPoint
_2getFileSplitPoint
v0CellUtil.cloneRow(midkey)
  • java.util.Optional
v0CellUtil.cloneRow(midkey)
ReturnsTrue
return STR0;return Optional.of(STR0);STR0Optional.of(STR0)buckaa22d260cd691436a57e0c5f5d5851b8c60ddaaccom.facebook.buck.shell.AbstractGenruleBuildableBuilder
_161
_262
_1getOut
_2getOut
v0STR0
  • java.util.Optional
v0STR0
ReturnsTrue
return f;return Optional.of(f);fOptional.of(f)hadoop352f994b6484524cdcfcda021046c59905b62f31org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap.TextReader
_1280
_2282
_1resolve
_2resolve
v0f
  • java.util.Optional
v0f
ReturnsTrue
return directoryId.get();return Optional.of(directoryId.get());directoryId.get()Optional.of(directoryId.get())cryptomator752601f4da747e39e0b78a0db5b2c2fd65c64b9corg.cryptomator.filesystem.crypto.CryptoFolder
_156
_272
_1getDirectoryId
_2getDirectoryId
v0directoryId.get()
  • java.util.Optional
v0directoryId.get()
ReturnsTrue
return physicalDataRoot().folder(encryptedThenHashedDirId.substring(0,2)).folder(encryptedThenHashedDirId.substring(2));return Optional.of(physicalDataRoot().folder(encryptedThenHashedDirId.substring(0,2)).folder(encryptedThenHashedDirId.substring(2)));physicalDataRoot().folder(encryptedThenHashedDirId.substring(0,2)).folder(encryptedThenHashedDirId.substring(2))Optional.of(physicalDataRoot().folder(encryptedThenHashedDirId.substring(0,2)).folder(encryptedThenHashedDirId.substring(2)))cryptomator752601f4da747e39e0b78a0db5b2c2fd65c64b9corg.cryptomator.filesystem.crypto.CryptoFolder
_151
_257
_1physicalFolder
_2physicalFolder
v0physicalDataRoot().folder(encryptedThenHashedDirId.substring(0,2)).folder(encryptedThenHashedDirId.substring(2))
  • java.util.Optional
v0physicalDataRoot().folder(encryptedThenHashedDirId.substring(0,2)).folder(encryptedThenHashedDirId.substring(2))
ReturnsTrue
return ROOT_DIRECOTRY_ID;return Optional.of(ROOT_DIRECOTRY_ID);ROOT_DIRECOTRY_IDOptional.of(ROOT_DIRECOTRY_ID)cryptomator752601f4da747e39e0b78a0db5b2c2fd65c64b9corg.cryptomator.filesystem.crypto.CryptoFileSystem
_143
_243
_1getDirectoryId
_2getDirectoryId
v0ROOT_DIRECOTRY_ID
  • java.util.Optional
v0ROOT_DIRECOTRY_ID
ReturnsTrue
return taskManagerSlot;return Optional.of(taskManagerSlot);taskManagerSlotOptional.of(taskManagerSlot)flinkb02fe5d210e712cce0ffd21d65e239f817033304org.apache.flink.runtime.resourcemanager.slotmanager.SlotManagerImpl
_1524
_2525
_1findMatchingSlot
_2findMatchingSlot
v0taskManagerSlot
  • java.util.Optional
v0taskManagerSlot
ReturnsTrue
return SHORT_INPUT_WARNING;return Optional.of(SHORT_INPUT_WARNING);SHORT_INPUT_WARNINGOptional.of(SHORT_INPUT_WARNING)sonarqubee461d574c67ae1b3433e6314a1c938ef4660a2d5org.sonar.server.component.ws.SuggestionsAction
_1146
_2228
_1getWarning
_2getWarning
v0SHORT_INPUT_WARNING
  • java.util.Optional
v0SHORT_INPUT_WARNING
ReturnsTrue
return queues;return Optional.of(queues);queuesOptional.of(queues)presto1994bfade1f05dfe87ae87627bfea1989e023bdbcom.facebook.presto.execution.QueryQueueRule
_163
_267
_1match
_2match
v0queues
  • java.util.Optional
v0queues
ReturnsTrue
return this.authentications.iterator().next();return Optional.of(this.authentications.iterator().next());this.authentications.iterator().next()Optional.of(this.authentications.iterator().next())cas9219483bf84282303abaf766a4abafa5cbd39305org.jasig.cas.authentication.DefaultAuthenticationResultBuilder
_142
_243
_1getInitialAuthentication
_2getInitialAuthentication
v0this.authentications.iterator().next()
  • java.util.Optional
v0this.authentications.iterator().next()
ReturnsTrue
return Arrays.stream(patterns).filter(StringUtils::isNotBlank).map(String::trim).toArray(String[]::new);return Optional.of(Arrays.stream(patterns).filter(StringUtils::isNotBlank).map(String::trim).toArray(String[]::new));Arrays.stream(patterns).filter(StringUtils::isNotBlank).map(String::trim).toArray(String[]::new)Optional.of(Arrays.stream(patterns).filter(StringUtils::isNotBlank).map(String::trim).toArray(String[]::new))junit5b2a98105cc3d5c751e5a2a5709ad463021924613org.junit.platform.runner.JUnitPlatform
_1290
_2173
_1trimmed
_2trimmed
v0Arrays.stream(patterns).filter(StringUtils::isNotBlank).map(String::trim).toArray(String[]::new)
  • java.util.Optional
v0Arrays.stream(patterns).filter(StringUtils::isNotBlank).map(String::trim).toArray(String[]::new)
ReturnsTrue
return o;return Optional.of(o);oOptional.of(o)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.saml.store.HttpSessionStore
_172
_273
_1get
_2get
v0o
  • java.util.Optional
v0o
ReturnsTrue
return new FoundAction(location);return Optional.of(new FoundAction(location));new FoundAction(location)Optional.of(new FoundAction(location))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.saml.redirect.SAML2RedirectionActionBuilder
_137
_239
_1redirect
_2redirect
v0new FoundAction(location)
  • java.util.Optional
v0new FoundAction(location)
ReturnsTrue
return new OkAction(content);return Optional.of(new OkAction(content));new OkAction(content)Optional.of(new OkAction(content))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.saml.redirect.SAML2RedirectionActionBuilder
_137
_239
_1redirect
_2redirect
v0new OkAction(content)
  • java.util.Optional
v0new OkAction(content)
ReturnsTrue
return new FoundAction(location);return Optional.of(new FoundAction(location));new FoundAction(location)Optional.of(new FoundAction(location))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.saml.logout.SAML2LogoutActionBuilder
_151
_253
_1getLogoutAction
_2getLogoutAction
v0new FoundAction(location)
  • java.util.Optional
v0new FoundAction(location)
ReturnsTrue
return new OkAction(content);return Optional.of(new OkAction(content));new OkAction(content)Optional.of(new OkAction(content))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.saml.logout.SAML2LogoutActionBuilder
_151
_253
_1getLogoutAction
_2getLogoutAction
v0new OkAction(content)
  • java.util.Optional
v0new OkAction(content)
ReturnsTrue
return new FoundAction(redirectionUrl);return Optional.of(new FoundAction(redirectionUrl));new FoundAction(redirectionUrl)Optional.of(new FoundAction(redirectionUrl))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.openid.redirect.YahooRedirectionActionBuilder
_141
_242
_1redirect
_2redirect
v0new FoundAction(redirectionUrl)
  • java.util.Optional
v0new FoundAction(redirectionUrl)
ReturnsTrue
return credentials;return Optional.of(credentials);credentialsOptional.of(credentials)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.openid.credentials.extractor.YahooCredentialsExtractor
_134
_236
_1extract
_2extract
v0credentials
  • java.util.Optional
v0credentials
ReturnsTrue
return new FoundAction(location);return Optional.of(new FoundAction(location));new FoundAction(location)Optional.of(new FoundAction(location))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oidc.redirect.OidcRedirectionActionBuilder
_167
_268
_1redirect
_2redirect
v0new FoundAction(location)
  • java.util.Optional
v0new FoundAction(location)
ReturnsTrue
return new FoundAction(logoutRequest.toURI().toString());return Optional.of(new FoundAction(logoutRequest.toURI().toString()));new FoundAction(logoutRequest.toURI().toString())Optional.of(new FoundAction(logoutRequest.toURI().toString()))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oidc.logout.OidcLogoutActionBuilder
_140
_241
_1getLogoutAction
_2getLogoutAction
v0new FoundAction(logoutRequest.toURI().toString())
  • java.util.Optional
v0new FoundAction(logoutRequest.toURI().toString())
ReturnsTrue
return credentials;return Optional.of(credentials);credentialsOptional.of(credentials)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oidc.credentials.extractor.OidcExtractor
_147
_244
_1extract
_2extract
v0credentials
  • java.util.Optional
v0credentials
ReturnsTrue
return profile;return Optional.of(profile);profileOptional.of(profile)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oidc.authorization.generator.KeycloakRolesAuthorizationGenerator
_131
_233
_1generate
_2generate
v0profile
  • java.util.Optional
v0profile
ReturnsTrue
return new FoundAction(authorizationUrl);return Optional.of(new FoundAction(authorizationUrl));new FoundAction(authorizationUrl)Optional.of(new FoundAction(authorizationUrl))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oauth.redirect.OAuth20RedirectionActionBuilder
_137
_239
_1redirect
_2redirect
v0new FoundAction(authorizationUrl)
  • java.util.Optional
v0new FoundAction(authorizationUrl)
ReturnsTrue
return new FoundAction(authorizationUrl);return Optional.of(new FoundAction(authorizationUrl));new FoundAction(authorizationUrl)Optional.of(new FoundAction(authorizationUrl))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oauth.redirect.OAuth10RedirectionActionBuilder
_142
_243
_1redirect
_2redirect
v0new FoundAction(authorizationUrl)
  • java.util.Optional
v0new FoundAction(authorizationUrl)
ReturnsTrue
return new OAuth20Credentials(code);return Optional.of(new OAuth20Credentials(code));new OAuth20Credentials(code)Optional.of(new OAuth20Credentials(code))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oauth.credentials.extractor.OAuth20CredentialsExtractor
_123
_224
_1getOAuthCredentials
_2getOAuthCredentials
v0new OAuth20Credentials(code)
  • java.util.Optional
v0new OAuth20Credentials(code)
ReturnsTrue
return new OAuth10Credentials(tokenSession,token,verifier);return Optional.of(new OAuth10Credentials(tokenSession,token,verifier));new OAuth10Credentials(tokenSession,token,verifier)Optional.of(new OAuth10Credentials(tokenSession,token,verifier))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.oauth.credentials.extractor.OAuth10CredentialsExtractor
_123
_225
_1getOAuthCredentials
_2getOAuthCredentials
v0new OAuth10Credentials(tokenSession,token,verifier)
  • java.util.Optional
v0new OAuth10Credentials(tokenSession,token,verifier)
ReturnsTrue
return new KerberosCredentials(kerberosTicket);return Optional.of(new KerberosCredentials(kerberosTicket));new KerberosCredentials(kerberosTicket)Optional.of(new KerberosCredentials(kerberosTicket))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.kerberos.credentials.extractor.KerberosExtractor
_119
_220
_1extract
_2extract
v0new KerberosCredentials(kerberosTicket)
  • java.util.Optional
v0new KerberosCredentials(kerberosTicket)
ReturnsTrue
return new X509Credentials(certificate);return Optional.of(new X509Credentials(certificate));new X509Credentials(certificate)Optional.of(new X509Credentials(certificate))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.http.credentials.extractor.X509CredentialsExtractor
_123
_224
_1extract
_2extract
v0new X509Credentials(certificate)
  • java.util.Optional
v0new X509Credentials(certificate)
ReturnsTrue
return new DigestCredentials(response,method,username,realm,nonce,uri,cnonce,nc,qop);return Optional.of(new DigestCredentials(response,method,username,realm,nonce,uri,cnonce,nc,qop));new DigestCredentials(response,method,username,realm,nonce,uri,cnonce,nc,qop)Optional.of(new DigestCredentials(response,method,username,realm,nonce,uri,cnonce,nc,qop))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.http.credentials.extractor.DigestAuthExtractor
_134
_235
_1extract
_2extract
v0new DigestCredentials(response,method,username,realm,nonce,uri,cnonce,nc,qop)
  • java.util.Optional
v0new DigestCredentials(response,method,username,realm,nonce,uri,cnonce,nc,qop)
ReturnsTrue
return new TokenCredentials(c.getValue());return Optional.of(new TokenCredentials(c.getValue()));new TokenCredentials(c.getValue())Optional.of(new TokenCredentials(c.getValue()))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.http.credentials.extractor.CookieExtractor
_125
_226
_1extract
_2extract
v0new TokenCredentials(c.getValue())
  • java.util.Optional
v0new TokenCredentials(c.getValue())
ReturnsTrue
return profile;return Optional.of(profile);profileOptional.of(profile)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.http.authorization.generator.RememberMeAuthorizationGenerator
_127
_229
_1generate
_2generate
v0profile
  • java.util.Optional
v0profile
ReturnsTrue
return new MockSessionStore((Map<String,Object>)trackableSession);return Optional.of(new MockSessionStore((Map<String,Object>)trackableSession));new MockSessionStore((Map<String,Object>)trackableSession)Optional.of(new MockSessionStore((Map<String,Object>)trackableSession))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.context.session.MockSessionStore
_157
_258
_1buildFromTrackableSession
_2buildFromTrackableSession
v0new MockSessionStore((Map<String,Object>)trackableSession)
  • java.util.Optional
v0new MockSessionStore((Map<String,Object>)trackableSession)
ReturnsTrue
return new FoundAction(redirectUrl);return Optional.of(new FoundAction(redirectUrl));new FoundAction(redirectUrl)Optional.of(new FoundAction(redirectUrl))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.logout.GoogleLogoutActionBuilder
_120
_222
_1getLogoutAction
_2getLogoutAction
v0new FoundAction(redirectUrl)
  • java.util.Optional
v0new FoundAction(redirectUrl)
ReturnsTrue
return new FoundAction(redirectUrl);return Optional.of(new FoundAction(redirectUrl));new FoundAction(redirectUrl)Optional.of(new FoundAction(redirectUrl))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.logout.CasLogoutActionBuilder
_135
_237
_1getLogoutAction
_2getLogoutAction
v0new FoundAction(redirectUrl)
  • java.util.Optional
v0new FoundAction(redirectUrl)
ReturnsTrue
return info.getSummary();return Optional.of(info.getSummary());info.getSummary()Optional.of(info.getSummary())bazel6ef0983093d0a1a6fee142ab66f026a0c9719779com.google.devtools.build.lib.runtime.commands.VersionCommand
_177
_286
_1getInfo
_2getInfo
v0info.getSummary()
  • java.util.Optional
v0info.getSummary()
ReturnsTrue
return productName + STR0 + (info.isReleasedBlaze() ? info.getVersion() : STR1);return Optional.of(productName + STR0 + (info.isReleasedBlaze() ? info.getVersion() : STR1));productName + STR0 + (info.isReleasedBlaze() ? info.getVersion() : STR1)Optional.of(productName + STR0 + (info.isReleasedBlaze() ? info.getVersion() : STR1))bazel6ef0983093d0a1a6fee142ab66f026a0c9719779com.google.devtools.build.lib.runtime.commands.VersionCommand
_177
_286
_1getInfo
_2getInfo
v0productName + STR0 + (info.isReleasedBlaze() ? info.getVersion() : STR1)
  • java.util.Optional
v0productName + STR0 + (info.isReleasedBlaze() ? info.getVersion() : STR1)
ReturnsTrue
return new TokenCredentials(headerWithoutPrefix);return Optional.of(new TokenCredentials(headerWithoutPrefix));new TokenCredentials(headerWithoutPrefix)Optional.of(new TokenCredentials(headerWithoutPrefix))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.credentials.extractor.HeaderExtractor
_155
_257
_1extract
_2extract
v0new TokenCredentials(headerWithoutPrefix)
  • java.util.Optional
v0new TokenCredentials(headerWithoutPrefix)
ReturnsTrue
return new JEEProvidedSessionStore((HttpSession)trackableSession);return Optional.of(new JEEProvidedSessionStore((HttpSession)trackableSession));new JEEProvidedSessionStore((HttpSession)trackableSession)Optional.of(new JEEProvidedSessionStore((HttpSession)trackableSession))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.context.session.JEESessionStore
_157
_258
_1buildFromTrackableSession
_2buildFromTrackableSession
v0new JEEProvidedSessionStore((HttpSession)trackableSession)
  • java.util.Optional
v0new JEEProvidedSessionStore((HttpSession)trackableSession)
ReturnsTrue
return ctx;return Optional.of(ctx);ctxOptional.of(ctx)hbase61d10feffaa7b96ee46e2a6f1e542d80c1d76f42org.apache.hadoop.hbase.regionserver.TestCompaction.StoreMockMaker
_1430
_2428
_1selectCompaction
_2selectCompaction
v0ctx
  • java.util.Optional
v0ctx
ReturnsTrue
return compaction;return Optional.of(compaction);compactionOptional.of(compaction)hbase61d10feffaa7b96ee46e2a6f1e542d80c1d76f42org.apache.hadoop.hbase.regionserver.HStore
_11648
_21638
_1requestCompaction
_2requestCompaction
v0compaction
  • java.util.Optional
v0compaction
ReturnsTrue
return (C)client;return Optional.of((C)client);(C)clientOptional.of((C)client)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.client.Clients
_1131
_2135
_1findClient
_2findClient
v0(C)client
  • java.util.Optional
v0(C)client
ReturnsTrue
return client;return Optional.of(client);clientOptional.of(client)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.client.Clients
_1113
_2117
_1findClient
_2findClient
v0client
  • java.util.Optional
v0client
ReturnsTrue
return profile;return Optional.of(profile);profileOptional.of(profile)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
_145
_245
_1generate
_2generate
v0profile
  • java.util.Optional
v0profile
ReturnsTrue
return profile;return Optional.of(profile);profileOptional.of(profile)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
_150
_247
_1generate
_2generate
v0profile
  • java.util.Optional
v0profile
ReturnsTrue
return profile;return Optional.of(profile);profileOptional.of(profile)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
_140
_241
_1generate
_2generate
v0profile
  • java.util.Optional
v0profile
ReturnsTrue
return new FoundAction(redirectionUrl);return Optional.of(new FoundAction(redirectionUrl));new FoundAction(redirectionUrl)Optional.of(new FoundAction(redirectionUrl))pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.cas.redirect.CasRedirectionActionBuilder
_135
_237
_1redirect
_2redirect
v0new FoundAction(redirectionUrl)
  • java.util.Optional
v0new FoundAction(redirectionUrl)
ReturnsTrue
return casCredentials;return Optional.of(casCredentials);casCredentialsOptional.of(casCredentials)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.cas.credentials.extractor.TicketAndLogoutRequestExtractor
_140
_241
_1extract
_2extract
v0casCredentials
  • java.util.Optional
v0casCredentials
ReturnsTrue
return emp;return Optional.of(emp);empOptional.of(emp)prestof0ede64603080ff7077a932730779e33ea2d41f9com.facebook.presto.hive.PrestoS3FileSystem
_1614
_2614
_1createEncryptionMaterialsProvider
_2createEncryptionMaterialsProvider
v0emp
  • java.util.Optional
v0emp
ReturnsTrue
return profile;return Optional.of(profile);profileOptional.of(profile)pac4jc7fdad559afcdda7d54529634aab55bff4868e76org.pac4j.cas.authorization.DefaultCasAuthorizationGenerator
_129
_231
_1generate
_2generate
v0profile
  • java.util.Optional
v0profile
ReturnsTrue
return page;return Optional.of(page);pageOptional.of(page)presto4efb7c28ba7b019e64a6d802984330a074ae1e47com.facebook.presto.operator.project.PageProcessor.PositionsPageProcessorIterator
_1149
_2156
_1computeNext
_2computeNext
v0page
  • java.util.Optional
v0page
ReturnsTrue
return new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten());return Optional.of(new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten()));new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten())Optional.of(new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten()))neo4jcae2bdf39c4433e8ca1ac18a52dec46fdeb31955org.neo4j.kernel.impl.storemigration.legacylogs.LegacyLogs
_1121
_2121
_1getTransactionInformation
_2getTransactionInformation
v0new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten())
  • java.util.Optional
v0new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten())
ReturnsTrue
return bucketToNode;return Optional.of(bucketToNode);bucketToNodeOptional.of(bucketToNode)prestoe1e16b88a54459928a557e8abe523790c671b63acom.facebook.presto.execution.scheduler.FixedBucketNodeMap
_162
_268
_1getBucketToNode
_2getBucketToNode
v0bucketToNode
  • java.util.Optional
v0bucketToNode
ReturnsTrue
return typeDeclaration;return Optional.of(typeDeclaration);typeDeclarationOptional.of(typeDeclaration)javaparser8537485ed6e61f80811d83dc4473a92789f67e2ccom.github.javaparser.resolution.types.ResolvedReferenceType
_1299
_2303
_1getTypeDeclaration
_2getTypeDeclaration
v0typeDeclaration
  • java.util.Optional
v0typeDeclaration
ReturnsTrue
return node;return Optional.of(node);nodeOptional.of(node)javaparsere8e5e3bcee06fe289d177739ecb90fa5a2a36363com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter
_1354
_2363
_1findNodeForToken
_2findNodeForToken
v0node
  • java.util.Optional
v0node
ReturnsTrue
return pageSource.get();return Optional.of(pageSource.get());pageSource.get()Optional.of(pageSource.get())presto6cced01a5b3e00a02e571f37b8ea5df21486df95com.facebook.presto.hive.HivePageSourceProvider
_1154
_2160
_1createSelectivePageSource
_2createSelectivePageSource
v0pageSource.get()
  • java.util.Optional
v0pageSource.get()
ReturnsTrue
return new MappedAggregationInfo(aggregationOverNullRow,aggregationsSymbolMapping);return Optional.of(new MappedAggregationInfo(aggregationOverNullRow,aggregationsSymbolMapping));new MappedAggregationInfo(aggregationOverNullRow,aggregationsSymbolMapping)Optional.of(new MappedAggregationInfo(aggregationOverNullRow,aggregationsSymbolMapping))presto4af49fea49f885a888ddd91334befab1ca6fd49ccom.facebook.presto.sql.planner.iterative.rule.PushAggregationThroughOuterJoin
_1246
_2267
_1createAggregationOverNull
_2createAggregationOverNull
v0new MappedAggregationInfo(aggregationOverNullRow,aggregationsSymbolMapping)
  • java.util.Optional
v0new MappedAggregationInfo(aggregationOverNullRow,aggregationsSymbolMapping)
ReturnsTrue
return new ProjectNode(idAllocator.getNextId(),crossJoin,assignmentsBuilder.build());return Optional.of(new ProjectNode(idAllocator.getNextId(),crossJoin,assignmentsBuilder.build()));new ProjectNode(idAllocator.getNextId(),crossJoin,assignmentsBuilder.build())Optional.of(new ProjectNode(idAllocator.getNextId(),crossJoin,assignmentsBuilder.build()))presto4af49fea49f885a888ddd91334befab1ca6fd49ccom.facebook.presto.sql.planner.iterative.rule.PushAggregationThroughOuterJoin
_1210
_2216
_1coalesceWithNullAggregation
_2coalesceWithNullAggregation
v0new ProjectNode(idAllocator.getNextId(),crossJoin,assignmentsBuilder.build())
  • java.util.Optional
v0new ProjectNode(idAllocator.getNextId(),crossJoin,assignmentsBuilder.build())
ReturnsTrue
return upnString;return Optional.of(upnString);upnStringOptional.of(upnString)cas6c03f4b4dd07f2aa65c6f10cbcec2c7631bcfd6aorg.apereo.cas.adaptors.x509.authentication.principal.X509UPNExtractorUtils
_1120
_2122
_1extractUPNString
_2extractUPNString
v0upnString
  • java.util.Optional
v0upnString
ReturnsTrue
return new InputGateWithData(inputGate,bufferOrEvent.get(),moreInputGatesAvailable);return Optional.of(new InputGateWithData(inputGate,bufferOrEvent.get(),moreInputGatesAvailable));new InputGateWithData(inputGate,bufferOrEvent.get(),moreInputGatesAvailable)Optional.of(new InputGateWithData(inputGate,bufferOrEvent.get(),moreInputGatesAvailable))flinkcd13fdfa0c8b0db7c0087d9fe40f1522ccb5d122org.apache.flink.runtime.io.network.partition.consumer.UnionInputGate
_1205
_2214
_1waitAndGetNextInputGate
_2waitAndGetNextInputGate
v0new InputGateWithData(inputGate,bufferOrEvent.get(),moreInputGatesAvailable)
  • java.util.Optional
v0new InputGateWithData(inputGate,bufferOrEvent.get(),moreInputGatesAvailable)
ReturnsTrue
return new ReportScmInfo(changesets);return Optional.of(new ReportScmInfo(changesets));new ReportScmInfo(changesets)Optional.of(new ReportScmInfo(changesets))sonarqubead83f03eefb1fcce357bfefc666db8e86174fcb1org.sonar.server.computation.task.projectanalysis.scm.ScmInfoRepositoryImpl
_185
_289
_1getScmInfoFromReport
_2getScmInfoFromReport
v0new ReportScmInfo(changesets)
  • java.util.Optional
v0new ReportScmInfo(changesets)
ReturnsTrue
return bucket.defaultCollection().remove(id);return Optional.of(bucket.defaultCollection().remove(id));bucket.defaultCollection().remove(id)Optional.of(bucket.defaultCollection().remove(id))casf6f96aaa9d6811dd964eb15d900abc0d284be6a6org.apereo.cas.couchbase.core.CouchbaseClientFactory
_1278
_2291
_1bucketRemoveFromDefaultCollection
_2bucketRemoveFromDefaultCollection
v0bucket.defaultCollection().remove(id)
  • java.util.Optional
v0bucket.defaultCollection().remove(id)
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_JAVA_VERSION,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_JAVA_VERSION,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_JAVA_VERSION,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_JAVA_VERSION,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_JAVA_VERSION,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_JAVA_VERSION,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_PLATFORM,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_PLATFORM,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_PLATFORM,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_PLATFORM,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_PLATFORM,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_PLATFORM,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_ID,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_ID,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_ID,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_ID,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_ID,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_ID,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_DATE,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_DATE,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_DATE,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_DATE,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_DATE,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{BUILD_DATE,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REPOSITORY,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REPOSITORY,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REPOSITORY,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REPOSITORY,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REPOSITORY,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REPOSITORY,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REVISION,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REVISION,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REVISION,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REVISION,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REVISION,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_REVISION,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_DATE,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_DATE,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_DATE,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_DATE,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_DATE,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{SOURCE_DATE,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{GEMFIRE_VERSION,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{GEMFIRE_VERSION,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{GEMFIRE_VERSION,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{GEMFIRE_VERSION,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{GEMFIRE_VERSION,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{GEMFIRE_VERSION,RESOURCE_NAME})
ReturnsTrue
return LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{PRODUCT_NAME,RESOURCE_NAME});return Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{PRODUCT_NAME,RESOURCE_NAME}));LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{PRODUCT_NAME,RESOURCE_NAME})Optional.of(LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{PRODUCT_NAME,RESOURCE_NAME}))geode07798ca802e752f66fc05811fc42e872675df525com.gemstone.gemfire.internal.GemFireVersion.VersionDescription
_1252
_2255
_1validate
_2validate
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{PRODUCT_NAME,RESOURCE_NAME})
  • java.util.Optional
v0LocalizedStrings.GemFireVersion_MISSING_PROPERTY_0_FROM_RESOURCE_COM_GEMSTONE_GEMFIRE_INTERNAL_1.toLocalizedString(new Object[]{PRODUCT_NAME,RESOURCE_NAME})
ReturnsTrue
return new TestTemplateInvocationTestDescriptor(uniqueId,getTestClass(),getTestMethod(),invocationContext,index);return Optional.of(new TestTemplateInvocationTestDescriptor(uniqueId,getTestClass(),getTestMethod(),invocationContext,index));new TestTemplateInvocationTestDescriptor(uniqueId,getTestClass(),getTestMethod(),invocationContext,index)Optional.of(new TestTemplateInvocationTestDescriptor(uniqueId,getTestClass(),getTestMethod(),invocationContext,index))junit5fbbd70b7cbbe299b01794446dfa251b3b9e727adorg.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
_1106
_2120
_1createInvocationTestDescriptor
_2createInvocationTestDescriptor
v0new TestTemplateInvocationTestDescriptor(uniqueId,getTestClass(),getTestMethod(),invocationContext,index)
  • java.util.Optional
v0new TestTemplateInvocationTestDescriptor(uniqueId,getTestClass(),getTestMethod(),invocationContext,index)
ReturnsTrue
return descriptor;return Optional.of(descriptor);descriptorOptional.of(descriptor)junit5fbbd70b7cbbe299b01794446dfa251b3b9e727adorg.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
_199
_2111
_1createDynamicDescriptor
_2createDynamicDescriptor
v0descriptor
  • java.util.Optional
v0descriptor
ReturnsTrue
return expression.substring(0,dot);return Optional.of(expression.substring(0,dot));expression.substring(0,dot)Optional.of(expression.substring(0,dot))drools01d701f7616597e6f2068a9990b2e339585739eforg.drools.modelcompiler.builder.generator.DrlxParseUtil
_1404
_2404
_1findBindingIdFromDotExpression
_2findBindingIdFromDotExpression
v0expression.substring(0,dot)
  • java.util.Optional
v0expression.substring(0,dot)
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()))buck210f431113a81dd3678d6f44ca9670145c4fe0cbcom.facebook.buck.rules.FakeRuleKeyFactory
_183
_284
_1buildManifestKey
_2buildManifestKey
v0new Pair<>(build(rule),ImmutableSet.<SourcePath>of())
  • java.util.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()))buck210f431113a81dd3678d6f44ca9670145c4fe0cbcom.facebook.buck.rules.FakeRuleKeyFactory
_176
_277
_1build
_2build
v0new Pair<>(build(rule),ImmutableSet.<SourcePath>of())
  • java.util.Optional
v0new Pair<>(build(rule),ImmutableSet.<SourcePath>of())
ReturnsTrue
return new OAuth20Credentials(STR0);return Optional.of(new OAuth20Credentials(STR0));new OAuth20Credentials(STR0)Optional.of(new OAuth20Credentials(STR0))cas3eaf7a9307c6b932a33e40eabbe9ab7fd47ba847org.apereo.cas.web.flow.DelegatedClientAuthenticationActionTests.verifyFinishAuthentication.facebookClient
_1244
_2245
_1retrieveCredentials
_2retrieveCredentials
v0new OAuth20Credentials(STR0)
  • java.util.Optional
v0new OAuth20Credentials(STR0)
ReturnsTrue
return new OAuth20Credentials(STR0);return Optional.of(new OAuth20Credentials(STR0));new OAuth20Credentials(STR0)Optional.of(new OAuth20Credentials(STR0))cas3eaf7a9307c6b932a33e40eabbe9ab7fd47ba847org.apereo.cas.web.flow.DelegatedClientAuthenticationActionTests.verifyFinishAuthenticationAuthzFailure.facebookClient
_1209
_2210
_1retrieveCredentials
_2retrieveCredentials
v0new OAuth20Credentials(STR0)
  • java.util.Optional
v0new OAuth20Credentials(STR0)
ReturnsTrue
return next;return Optional.of(next);nextOptional.of(next)flink98bd689a2565ec5cf344541f37cd0b0db691c08forg.apache.flink.streaming.runtime.io.MockInputGate
_168
_269
_1getNextBufferOrEvent
_2getNextBufferOrEvent
v0next
  • java.util.Optional
v0next
ReturnsTrue
return new BufferOrEvent(buffer,currentChannel);return Optional.of(new BufferOrEvent(buffer,currentChannel));new BufferOrEvent(buffer,currentChannel)Optional.of(new BufferOrEvent(buffer,currentChannel))flink98bd689a2565ec5cf344541f37cd0b0db691c08forg.apache.flink.streaming.runtime.io.BarrierBufferMassiveRandomTest.RandomGeneratingInputGate
_1161
_2162
_1getNextBufferOrEvent
_2getNextBufferOrEvent
v0new BufferOrEvent(buffer,currentChannel)
  • java.util.Optional
v0new BufferOrEvent(buffer,currentChannel)
ReturnsTrue
return new BufferOrEvent(new CheckpointBarrier(++currentBarriers[currentChannel],System.currentTimeMillis(),CheckpointOptions.forCheckpointWithDefaultLocation()),currentChannel);return Optional.of(new BufferOrEvent(new CheckpointBarrier(++currentBarriers[currentChannel],System.currentTimeMillis(),CheckpointOptions.forCheckpointWithDefaultLocation()),currentChannel));new BufferOrEvent(new CheckpointBarrier(++currentBarriers[currentChannel],System.currentTimeMillis(),CheckpointOptions.forCheckpointWithDefaultLocation()),currentChannel)Optional.of(new BufferOrEvent(new CheckpointBarrier(++currentBarriers[currentChannel],System.currentTimeMillis(),CheckpointOptions.forCheckpointWithDefaultLocation()),currentChannel))flink98bd689a2565ec5cf344541f37cd0b0db691c08forg.apache.flink.streaming.runtime.io.BarrierBufferMassiveRandomTest.RandomGeneratingInputGate
_1161
_2162
_1getNextBufferOrEvent
_2getNextBufferOrEvent
v0new BufferOrEvent(new CheckpointBarrier(++currentBarriers[currentChannel],System.currentTimeMillis(),CheckpointOptions.forCheckpointWithDefaultLocation()),currentChannel)
  • java.util.Optional
v0new BufferOrEvent(new CheckpointBarrier(++currentBarriers[currentChannel],System.currentTimeMillis(),CheckpointOptions.forCheckpointWithDefaultLocation()),currentChannel)
ReturnsTrue
return field;return Optional.of(field);fieldOptional.of(field)graylog2-server88b8aba422900185aa13e62a0d5f44b673d240d0org.graylog.plugins.enterprise.search.elasticsearch.searchtypes.aggregation.ESSumMetricHandler
_118
_220
_1doCreateAggregation
_2doCreateAggregation
v0field
  • java.util.Optional
v0field
ReturnsTrue
return preallocatedBundleToBroker.get(bundle);return Optional.of(preallocatedBundleToBroker.get(bundle));preallocatedBundleToBroker.get(bundle)Optional.of(preallocatedBundleToBroker.get(bundle))pulsard6d4fa3a1103f650bf16e74429f82db3d33fe739org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl
_1687
_2686
_1selectBrokerForAssignment
_2selectBrokerForAssignment
v0preallocatedBundleToBroker.get(bundle)
  • java.util.Optional
v0preallocatedBundleToBroker.get(bundle)
ReturnsTrue
return bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size()));return Optional.of(bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size())));bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size()))Optional.of(bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size())))pulsard6d4fa3a1103f650bf16e74429f82db3d33fe739org.apache.pulsar.broker.loadbalance.impl.LeastLongTermMessageRate
_180
_281
_1selectBroker
_2selectBroker
v0bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size()))
  • java.util.Optional
v0bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size()))
ReturnsTrue
return new MethodHandleAndConstructor(methodHandle,Optional.ofNullable(constructor));return Optional.of(new MethodHandleAndConstructor(methodHandle,Optional.ofNullable(constructor)));new MethodHandleAndConstructor(methodHandle,Optional.ofNullable(constructor))Optional.of(new MethodHandleAndConstructor(methodHandle,Optional.ofNullable(constructor)))prestoadd53978effbcf15e412c71895f9bc21e2902913com.facebook.presto.operator.scalar.annotations.ScalarImplementation
_1117
_2117
_1specialize
_2specialize
v0new MethodHandleAndConstructor(methodHandle,Optional.ofNullable(constructor))
  • java.util.Optional
v0new MethodHandleAndConstructor(methodHandle,Optional.ofNullable(constructor))
ReturnsTrue
return stateB;return Optional.of(stateB);stateBOptional.of(stateB)neo4j120b304023c7aa10c09a225108feb686fdff3555org.neo4j.index.gbptree.TreeStatePair
_168
_259
_1selectNewestValidStateOrNull
_2selectNewestValidStateOptionally
v0stateB
  • java.util.Optional
v0stateB
ReturnsTrue
return stateA;return Optional.of(stateA);stateAOptional.of(stateA)neo4j120b304023c7aa10c09a225108feb686fdff3555org.neo4j.index.gbptree.TreeStatePair
_168
_259
_1selectNewestValidStateOrNull
_2selectNewestValidStateOptionally
v0stateA
  • java.util.Optional
v0stateA
ReturnsTrue
return ((MethodTestDescriptor)getTestDescriptor()).getTestClass();return Optional.of(((MethodTestDescriptor)getTestDescriptor()).getTestClass());((MethodTestDescriptor)getTestDescriptor()).getTestClass()Optional.of(((MethodTestDescriptor)getTestDescriptor()).getTestClass())junit5a409b27b1fca748a504a8bbcf7a914eeadeebdaborg.junit.gen5.engine.junit5.descriptor.MethodBasedTestExtensionContext
_147
_248
_1getTestClass
_2getTestClass
v0((MethodTestDescriptor)getTestDescriptor()).getTestClass()
  • java.util.Optional
v0((MethodTestDescriptor)getTestDescriptor()).getTestClass()
ReturnsTrue
return ((MethodTestDescriptor)getTestDescriptor()).getTestMethod();return Optional.of(((MethodTestDescriptor)getTestDescriptor()).getTestMethod());((MethodTestDescriptor)getTestDescriptor()).getTestMethod()Optional.of(((MethodTestDescriptor)getTestDescriptor()).getTestMethod())junit5a409b27b1fca748a504a8bbcf7a914eeadeebdaborg.junit.gen5.engine.junit5.descriptor.MethodBasedTestExtensionContext
_137
_238
_1getTestMethod
_2getTestMethod
v0((MethodTestDescriptor)getTestDescriptor()).getTestMethod()
  • java.util.Optional
v0((MethodTestDescriptor)getTestDescriptor()).getTestMethod()
ReturnsTrue
return ((ClassTestDescriptor)getTestDescriptor()).getTestClass();return Optional.of(((ClassTestDescriptor)getTestDescriptor()).getTestClass());((ClassTestDescriptor)getTestDescriptor()).getTestClass()Optional.of(((ClassTestDescriptor)getTestDescriptor()).getTestClass())junit5a409b27b1fca748a504a8bbcf7a914eeadeebdaborg.junit.gen5.engine.junit5.descriptor.ClassBasedContainerExtensionContext
_154
_256
_1getTestClass
_2getTestClass
v0((ClassTestDescriptor)getTestDescriptor()).getTestClass()
  • java.util.Optional
v0((ClassTestDescriptor)getTestDescriptor()).getTestClass()
ReturnsTrue
return new IndexRequest(ComponentIndexDefinition.INDEX_COMPONENTS,ComponentIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc);return Optional.of(new IndexRequest(ComponentIndexDefinition.INDEX_COMPONENTS,ComponentIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc));new IndexRequest(ComponentIndexDefinition.INDEX_COMPONENTS,ComponentIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)Optional.of(new IndexRequest(ComponentIndexDefinition.INDEX_COMPONENTS,ComponentIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc))sonarqube35de0ed9acb340b5f09281c733951e46ebe40276org.sonar.server.permission.index.PermissionIndexer
_1182
_2195
_1newComponentsAuthorizationIndexRequest
_2newComponentsAuthorizationIndexRequest
v0new IndexRequest(ComponentIndexDefinition.INDEX_COMPONENTS,ComponentIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)
  • java.util.Optional
v0new IndexRequest(ComponentIndexDefinition.INDEX_COMPONENTS,ComponentIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)
ReturnsTrue
return new IndexRequest(ProjectMeasuresIndexDefinition.INDEX_PROJECT_MEASURES,ProjectMeasuresIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc);return Optional.of(new IndexRequest(ProjectMeasuresIndexDefinition.INDEX_PROJECT_MEASURES,ProjectMeasuresIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc));new IndexRequest(ProjectMeasuresIndexDefinition.INDEX_PROJECT_MEASURES,ProjectMeasuresIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)Optional.of(new IndexRequest(ProjectMeasuresIndexDefinition.INDEX_PROJECT_MEASURES,ProjectMeasuresIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc))sonarqube35de0ed9acb340b5f09281c733951e46ebe40276org.sonar.server.permission.index.PermissionIndexer
_1171
_2180
_1newProjectMeasuresAuthorizationIndexRequest
_2newProjectMeasuresAuthorizationIndexRequest
v0new IndexRequest(ProjectMeasuresIndexDefinition.INDEX_PROJECT_MEASURES,ProjectMeasuresIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)
  • java.util.Optional
v0new IndexRequest(ProjectMeasuresIndexDefinition.INDEX_PROJECT_MEASURES,ProjectMeasuresIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)
ReturnsTrue
return new IndexRequest(IssueIndexDefinition.INDEX,IssueIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc);return Optional.of(new IndexRequest(IssueIndexDefinition.INDEX,IssueIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc));new IndexRequest(IssueIndexDefinition.INDEX,IssueIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)Optional.of(new IndexRequest(IssueIndexDefinition.INDEX,IssueIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc))sonarqube35de0ed9acb340b5f09281c733951e46ebe40276org.sonar.server.permission.index.PermissionIndexer
_1160
_2165
_1newIssuesAuthorizationIndexRequest
_2newIssuesAuthorizationIndexRequest
v0new IndexRequest(IssueIndexDefinition.INDEX,IssueIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)
  • java.util.Optional
v0new IndexRequest(IssueIndexDefinition.INDEX,IssueIndexDefinition.TYPE_AUTHORIZATION,dto.getProjectUuid()).routing(dto.getProjectUuid()).source(doc)
ReturnsTrue
return temporaryConfigFile;return Optional.of(temporaryConfigFile);temporaryConfigFileOptional.of(temporaryConfigFile)neo4jf01cc6292e5c561bc8410bac30bdbfb070a93622org.neo4j.server.helpers.CommunityServerBuilder
_1117
_2119
_1createConfigFiles
_2createConfigFiles
v0temporaryConfigFile
  • java.util.Optional
v0temporaryConfigFile
ReturnsTrue
return file;return Optional.of(file);fileOptional.of(file)neo4jf01cc6292e5c561bc8410bac30bdbfb070a93622org.neo4j.server.configuration.ConfigFileBuilder
_158
_259
_1build
_2build
v0file
  • java.util.Optional
v0file
ReturnsTrue
return new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten());return Optional.of(new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten()));new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten())Optional.of(new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten()))neo4j006dce8d44ea1c4853eb0696c2a759194ee2d617org.neo4j.kernel.impl.storemigration.legacylogs.LegacyLogs
_1121
_2121
_1getTransactionInformation
_2getTransactionInformation
v0new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten())
  • java.util.Optional
v0new TransactionId(transactionId,startEntry.checksum(),commitEntry.getTimeWritten())
ReturnsTrue
return NetworkUtils.getHostName();return Optional.of(NetworkUtils.getHostName());NetworkUtils.getHostName()Optional.of(NetworkUtils.getHostName())sonarqubed2561d2d55e2f9a967db9ebfd829dec17abbadd1org.sonar.application.TestAppState
_179
_280
_1getLeaderHostName
_2getLeaderHostName
v0NetworkUtils.getHostName()
  • java.util.Optional
v0NetworkUtils.getHostName()
ReturnsTrue
return leader.get().getStringAttribute(HOSTNAME);return Optional.of(leader.get().getStringAttribute(HOSTNAME));leader.get().getStringAttribute(HOSTNAME)Optional.of(leader.get().getStringAttribute(HOSTNAME))sonarqubed2561d2d55e2f9a967db9ebfd829dec17abbadd1org.sonar.application.cluster.HazelcastCluster
_1201
_2201
_1getLeaderHostName
_2getLeaderHostName
v0leader.get().getStringAttribute(HOSTNAME)
  • java.util.Optional
v0leader.get().getStringAttribute(HOSTNAME)
ReturnsTrue
return NetworkUtils.getHostName();return Optional.of(NetworkUtils.getHostName());NetworkUtils.getHostName()Optional.of(NetworkUtils.getHostName())sonarqubed2561d2d55e2f9a967db9ebfd829dec17abbadd1org.sonar.application.AppStateImpl
_169
_270
_1getLeaderHostName
_2getLeaderHostName
v0NetworkUtils.getHostName()
  • java.util.Optional
v0NetworkUtils.getHostName()
ReturnsTrue
return String.format(STR0,formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost()));return Optional.of(String.format(STR0,formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost())));String.format(STR0,formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost()))Optional.of(String.format(STR0,formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost())))presto3bf6868e914097a97ce496b02c81259ae94f8854com.facebook.presto.sql.planner.planPrinter.PlanPrinter.Visitor
_11411
_21387
_1formatPlanNodeStatsAndCost
_2formatPlanNodeStatsAndCost
v0String.format(STR0,formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost()))
  • java.util.Optional
v0String.format(STR0,formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost()))
ReturnsTrue
return new TestState();return Optional.of(new TestState());new TestState()Optional.of(new TestState())guice655eab1c9eda73fec42440aa08687baffb8d5ad7com.google.inject.internal.WeakKeySetTest.TestState
_1461
_2462
_1parent
_2parent
v0new TestState()
  • java.util.Optional
v0new TestState()
ReturnsTrue
return cellPath;return Optional.of(cellPath);cellPathOptional.of(cellPath)buck5947237af7d7772803da1416838826b9dec57f00com.facebook.buck.rules.CellPathResolverView
_144
_243
_1getCellPath
_2getCellPath
v0cellPath
  • java.util.Optional
v0cellPath
ReturnsTrue
return Pair.of(object,messageContext);return Optional.of(Pair.of(object,messageContext));Pair.of(object,messageContext)Optional.of(Pair.of(object,messageContext))casfc1e6d8a730299261f72b8d26a6ccf52463eb7f2org.apereo.cas.support.saml.web.idp.profile.sso.request.DefaultSSOSamlHttpRequestExtractor
_132
_233
_1extract
_2extract
v0Pair.of(object,messageContext)
  • java.util.Optional
v0Pair.of(object,messageContext)
ReturnsTrue
return pathWithoutHash;return Optional.of(pathWithoutHash);pathWithoutHashOptional.of(pathWithoutHash)buck51749be1404c6cdc432c86dc087ff078c1a8c549com.facebook.buck.core.model.impl.BuildPaths
_183
_283
_1removeHashFrom
_2removeHashFrom
v0pathWithoutHash
  • java.util.Optional
v0pathWithoutHash
ReturnsTrue
return path.getRoot().resolve(pathWithoutHash);return Optional.of(path.getRoot().resolve(pathWithoutHash));path.getRoot().resolve(pathWithoutHash)Optional.of(path.getRoot().resolve(pathWithoutHash))buck51749be1404c6cdc432c86dc087ff078c1a8c549com.facebook.buck.core.model.impl.BuildPaths
_183
_283
_1removeHashFrom
_2removeHashFrom
v0path.getRoot().resolve(pathWithoutHash)
  • java.util.Optional
v0path.getRoot().resolve(pathWithoutHash)
ReturnsTrue
return hsBuilder.build();return Optional.of(hsBuilder.build());hsBuilder.build()Optional.of(hsBuilder.build())buck444dfa41a621fab140f1594f8307aa5e5c4630d3com.facebook.buck.artifact_cache.ClientCertificateHandler
_1139
_2200
_1parseHandshakeCertificates
_2parseHandshakeCertificates
v0hsBuilder.build()
  • java.util.Optional
v0hsBuilder.build()
ReturnsTrue
return KeyFactory.getInstance(certificate.getPublicKey().getAlgorithm()).generatePrivate(keySpec);return Optional.of(KeyFactory.getInstance(certificate.getPublicKey().getAlgorithm()).generatePrivate(keySpec));KeyFactory.getInstance(certificate.getPublicKey().getAlgorithm()).generatePrivate(keySpec)Optional.of(KeyFactory.getInstance(certificate.getPublicKey().getAlgorithm()).generatePrivate(keySpec))buck444dfa41a621fab140f1594f8307aa5e5c4630d3com.facebook.buck.artifact_cache.ClientCertificateHandler
_182
_2125
_1parsePrivateKey
_2parsePrivateKey
v0KeyFactory.getInstance(certificate.getPublicKey().getAlgorithm()).generatePrivate(keySpec)
  • java.util.Optional
v0KeyFactory.getInstance(certificate.getPublicKey().getAlgorithm()).generatePrivate(keySpec)
ReturnsTrue
return lookupAddress;return Optional.of(lookupAddress);lookupAddressOptional.of(lookupAddress)pulsarf8b051a6f732653ef26ee68d239c1ae005e85a4aorg.apache.pulsar.broker.namespace.NamespaceService
_1449
_2455
_1getLeastLoadedFromLoadManager
_2getLeastLoadedFromLoadManager
v0lookupAddress
  • java.util.Optional
v0lookupAddress
ReturnsTrue
return new DatabaseId(databaseName.name(),UUID.randomUUID());return Optional.of(new DatabaseId(databaseName.name(),UUID.randomUUID()));new DatabaseId(databaseName.name(),UUID.randomUUID())Optional.of(new DatabaseId(databaseName.name(),UUID.randomUUID()))neo4jefe42b0d1d6e1eac1d7657a848cb5c9fbdd06738org.neo4j.kernel.database.TestDatabaseIdRepository.RandomDatabaseIdRepository
_160
_280
_1get
_2get
v0new DatabaseId(databaseName.name(),UUID.randomUUID())
  • java.util.Optional
v0new DatabaseId(databaseName.name(),UUID.randomUUID())
ReturnsTrue
return new DatabaseId(databaseName,UUID.fromString((String)uuid));return Optional.of(new DatabaseId(databaseName,UUID.fromString((String)uuid)));new DatabaseId(databaseName,UUID.fromString((String)uuid))Optional.of(new DatabaseId(databaseName,UUID.fromString((String)uuid)))neo4jefe42b0d1d6e1eac1d7657a848cb5c9fbdd06738org.neo4j.kernel.database.SystemDbDatabaseIdRepository
_167
_268
_1get0
_2get0
v0new DatabaseId(databaseName,UUID.fromString((String)uuid))
  • java.util.Optional
v0new DatabaseId(databaseName,UUID.fromString((String)uuid))
ReturnsTrue
return (P)credentials.getUserProfile();return Optional.of((P)credentials.getUserProfile());(P)credentials.getUserProfile()Optional.of((P)credentials.getUserProfile())pac4j49ccc89f2d97cadadc2b217dd8505007b930fff5org.pac4j.core.profile.creator.AuthenticatorProfileCreator
_117
_219
_1create
_2create
v0(P)credentials.getUserProfile()
  • java.util.Optional
v0(P)credentials.getUserProfile()
ReturnsTrue
return profile;return Optional.of(profile);profileOptional.of(profile)pac4j49ccc89f2d97cadadc2b217dd8505007b930fff5org.pac4j.core.profile.ProfileHelper
_144
_244
_1restoreOrBuildProfile
_2restoreOrBuildProfile
v0profile
  • java.util.Optional
v0profile
ReturnsTrue
return RedirectAction.redirect(redirectUrl);return Optional.of(RedirectAction.redirect(redirectUrl));RedirectAction.redirect(redirectUrl)Optional.of(RedirectAction.redirect(redirectUrl))pac4j49ccc89f2d97cadadc2b217dd8505007b930fff5org.pac4j.core.logout.GoogleLogoutActionBuilder
_119
_221
_1getLogoutAction
_2getLogoutAction
v0RedirectAction.redirect(redirectUrl)
  • java.util.Optional
v0RedirectAction.redirect(redirectUrl)
ReturnsTrue
return RedirectAction.redirect(redirectUrl);return Optional.of(RedirectAction.redirect(redirectUrl));RedirectAction.redirect(redirectUrl)Optional.of(RedirectAction.redirect(redirectUrl))pac4j49ccc89f2d97cadadc2b217dd8505007b930fff5org.pac4j.core.logout.CasLogoutActionBuilder
_133
_235
_1getLogoutAction
_2getLogoutAction
v0RedirectAction.redirect(redirectUrl)
  • java.util.Optional
v0RedirectAction.redirect(redirectUrl)
ReturnsTrue
return new TokenCredentials(headerWithoutPrefix);return Optional.of(new TokenCredentials(headerWithoutPrefix));new TokenCredentials(headerWithoutPrefix)Optional.of(new TokenCredentials(headerWithoutPrefix))pac4j49ccc89f2d97cadadc2b217dd8505007b930fff5org.pac4j.core.credentials.extractor.HeaderExtractor
_124
_226
_1extract
_2extract
v0new TokenCredentials(headerWithoutPrefix)
  • java.util.Optional
v0new TokenCredentials(headerWithoutPrefix)
ReturnsTrue
return runnerSegment.getValue();return Optional.of(runnerSegment.getValue());runnerSegment.getValue()Optional.of(runnerSegment.getValue())junit542d9dab075ef7a38c01fb2f1eac2f808bd7f840borg.junit.vintage.engine.discovery.UniqueIdSelectorResolver
_163
_262
_1determineTestClassName
_2determineTestClassName
v0runnerSegment.getValue()
  • java.util.Optional
v0runnerSegment.getValue()
ReturnsTrue
return new MacroHandler(macros.build());return Optional.of(new MacroHandler(macros.build()));new MacroHandler(macros.build())Optional.of(new MacroHandler(macros.build()))buckea5fca07900a589765cabdde361c088f0295fb93com.facebook.buck.cxx.CxxGenruleDescription
_1204
_2204
_1getMacroHandler
_2getMacroHandler
v0new MacroHandler(macros.build())
  • java.util.Optional
v0new MacroHandler(macros.build())
ReturnsTrue
return converter.convertSqlQuery(validated);return Optional.of(converter.convertSqlQuery(validated));converter.convertSqlQuery(validated)Optional.of(converter.convertSqlQuery(validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.sqlexec.SqlToOperationConverter
_178
_280
_1convert
_2convert
v0converter.convertSqlQuery(validated)
  • java.util.Optional
v0converter.convertSqlQuery(validated)
ReturnsTrue
return converter.convertSqlInsert((RichSqlInsert)validated);return Optional.of(converter.convertSqlInsert((RichSqlInsert)validated));converter.convertSqlInsert((RichSqlInsert)validated)Optional.of(converter.convertSqlInsert((RichSqlInsert)validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.sqlexec.SqlToOperationConverter
_178
_280
_1convert
_2convert
v0converter.convertSqlInsert((RichSqlInsert)validated)
  • java.util.Optional
v0converter.convertSqlInsert((RichSqlInsert)validated)
ReturnsTrue
return converter.convertDropTable((SqlDropTable)validated);return Optional.of(converter.convertDropTable((SqlDropTable)validated));converter.convertDropTable((SqlDropTable)validated)Optional.of(converter.convertDropTable((SqlDropTable)validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.sqlexec.SqlToOperationConverter
_178
_280
_1convert
_2convert
v0converter.convertDropTable((SqlDropTable)validated)
  • java.util.Optional
v0converter.convertDropTable((SqlDropTable)validated)
ReturnsTrue
return converter.convertCreateTable((SqlCreateTable)validated);return Optional.of(converter.convertCreateTable((SqlCreateTable)validated));converter.convertCreateTable((SqlCreateTable)validated)Optional.of(converter.convertCreateTable((SqlCreateTable)validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.sqlexec.SqlToOperationConverter
_178
_280
_1convert
_2convert
v0converter.convertCreateTable((SqlCreateTable)validated)
  • java.util.Optional
v0converter.convertCreateTable((SqlCreateTable)validated)
ReturnsTrue
return converter.convertSqlQuery(validated);return Optional.of(converter.convertSqlQuery(validated));converter.convertSqlQuery(validated)Optional.of(converter.convertSqlQuery(validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.planner.operations.SqlToOperationConverter
_177
_278
_1convert
_2convert
v0converter.convertSqlQuery(validated)
  • java.util.Optional
v0converter.convertSqlQuery(validated)
ReturnsTrue
return converter.convertSqlInsert((RichSqlInsert)validated);return Optional.of(converter.convertSqlInsert((RichSqlInsert)validated));converter.convertSqlInsert((RichSqlInsert)validated)Optional.of(converter.convertSqlInsert((RichSqlInsert)validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.planner.operations.SqlToOperationConverter
_177
_278
_1convert
_2convert
v0converter.convertSqlInsert((RichSqlInsert)validated)
  • java.util.Optional
v0converter.convertSqlInsert((RichSqlInsert)validated)
ReturnsTrue
return converter.convertDropTable((SqlDropTable)validated);return Optional.of(converter.convertDropTable((SqlDropTable)validated));converter.convertDropTable((SqlDropTable)validated)Optional.of(converter.convertDropTable((SqlDropTable)validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.planner.operations.SqlToOperationConverter
_177
_278
_1convert
_2convert
v0converter.convertDropTable((SqlDropTable)validated)
  • java.util.Optional
v0converter.convertDropTable((SqlDropTable)validated)
ReturnsTrue
return converter.convertCreateTable((SqlCreateTable)validated);return Optional.of(converter.convertCreateTable((SqlCreateTable)validated));converter.convertCreateTable((SqlCreateTable)validated)Optional.of(converter.convertCreateTable((SqlCreateTable)validated))flink96a62d997eec419646cdc8c8735f9aa940584da4org.apache.flink.table.planner.operations.SqlToOperationConverter
_177
_278
_1convert
_2convert
v0converter.convertCreateTable((SqlCreateTable)validated)
  • java.util.Optional
v0converter.convertCreateTable((SqlCreateTable)validated)
ReturnsTrue
return PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse(STR0);return Optional.of(PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse(STR0));PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse(STR0)Optional.of(PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse(STR0))junit50eb7901f66017f1f102afb17598bd8a95b76ab77org.junit.platform.engine.TestEngine
_157
_2140
_1getVersion
_2getVersion
v0PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse(STR0)
  • java.util.Optional
v0PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse(STR0)
ReturnsTrue
return new Vector4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3));return Optional.of(new Vector4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3)));new Vector4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3))Optional.of(new Vector4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.mathTypes.Vector4fTypeHandler
_134
_236
_1deserialize
_2deserialize
v0new Vector4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3))
  • java.util.Optional
v0new Vector4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3))
ReturnsTrue
return new Vector3i(ints.get(0),ints.get(1),ints.get(2));return Optional.of(new Vector3i(ints.get(0),ints.get(1),ints.get(2)));new Vector3i(ints.get(0),ints.get(1),ints.get(2))Optional.of(new Vector3i(ints.get(0),ints.get(1),ints.get(2)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.mathTypes.Vector3iTypeHandler
_133
_235
_1deserialize
_2deserialize
v0new Vector3i(ints.get(0),ints.get(1),ints.get(2))
  • java.util.Optional
v0new Vector3i(ints.get(0),ints.get(1),ints.get(2))
ReturnsTrue
return new Vector3f(floats.get(0),floats.get(1),floats.get(2));return Optional.of(new Vector3f(floats.get(0),floats.get(1),floats.get(2)));new Vector3f(floats.get(0),floats.get(1),floats.get(2))Optional.of(new Vector3f(floats.get(0),floats.get(1),floats.get(2)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.mathTypes.Vector3fTypeHandler
_133
_235
_1deserialize
_2deserialize
v0new Vector3f(floats.get(0),floats.get(1),floats.get(2))
  • java.util.Optional
v0new Vector3f(floats.get(0),floats.get(1),floats.get(2))
ReturnsTrue
return new Vector2i(ints.get(0),ints.get(1));return Optional.of(new Vector2i(ints.get(0),ints.get(1)));new Vector2i(ints.get(0),ints.get(1))Optional.of(new Vector2i(ints.get(0),ints.get(1)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.mathTypes.Vector2iTypeHandler
_133
_235
_1deserialize
_2deserialize
v0new Vector2i(ints.get(0),ints.get(1))
  • java.util.Optional
v0new Vector2i(ints.get(0),ints.get(1))
ReturnsTrue
return new Vector2f(floats.get(0),floats.get(1));return Optional.of(new Vector2f(floats.get(0),floats.get(1)));new Vector2f(floats.get(0),floats.get(1))Optional.of(new Vector2f(floats.get(0),floats.get(1)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.mathTypes.Vector2fTypeHandler
_134
_236
_1deserialize
_2deserialize
v0new Vector2f(floats.get(0),floats.get(1))
  • java.util.Optional
v0new Vector2f(floats.get(0),floats.get(1))
ReturnsTrue
return new Quat4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3));return Optional.of(new Quat4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3)));new Quat4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3))Optional.of(new Quat4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.mathTypes.Quat4fTypeHandler
_133
_235
_1deserialize
_2deserialize
v0new Quat4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3))
  • java.util.Optional
v0new Quat4f(floats.get(0),floats.get(1),floats.get(2),floats.get(3))
ReturnsTrue
return new Color((int)Long.parseLong(value,16));return Optional.of(new Color((int)Long.parseLong(value,16)));new Color((int)Long.parseLong(value,16))Optional.of(new Color((int)Long.parseLong(value,16)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.extensionTypes.ColorTypeHandler
_136
_238
_1deserialize
_2deserialize
v0new Color((int)Long.parseLong(value,16))
  • java.util.Optional
v0new Color((int)Long.parseLong(value,16))
ReturnsTrue
return new Color(vals.get(0),vals.get(1),vals.get(2),vals.get(3));return Optional.of(new Color(vals.get(0),vals.get(1),vals.get(2),vals.get(3)));new Color(vals.get(0),vals.get(1),vals.get(2),vals.get(3))Optional.of(new Color(vals.get(0),vals.get(1),vals.get(2),vals.get(3)))Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.extensionTypes.ColorTypeHandler
_136
_238
_1deserialize
_2deserialize
v0new Color(vals.get(0),vals.get(1),vals.get(2),vals.get(3))
  • java.util.Optional
v0new Color(vals.get(0),vals.get(1),vals.get(2),vals.get(3))
ReturnsTrue
return result;return Optional.of(result);resultOptional.of(result)Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.StringMapTypeHandler
_147
_248
_1deserialize
_2deserialize
v0result
  • java.util.Optional
v0result
ReturnsTrue
return data.getAsDouble();return Optional.of(data.getAsDouble());data.getAsDouble()Optional.of(data.getAsDouble())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.NumberTypeHandler
_132
_234
_1deserialize
_2deserialize
v0data.getAsDouble()
  • java.util.Optional
v0data.getAsDouble()
ReturnsTrue
return data.getAsLong();return Optional.of(data.getAsLong());data.getAsLong()Optional.of(data.getAsLong())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.LongTypeHandler
_131
_233
_1deserialize
_2deserialize
v0data.getAsLong()
  • java.util.Optional
v0data.getAsLong()
ReturnsTrue
return data.getAsInteger();return Optional.of(data.getAsInteger());data.getAsInteger()Optional.of(data.getAsInteger())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.IntTypeHandler
_131
_233
_1deserialize
_2deserialize
v0data.getAsInteger()
  • java.util.Optional
v0data.getAsInteger()
ReturnsTrue
return data.getAsFloat();return Optional.of(data.getAsFloat());data.getAsFloat()Optional.of(data.getAsFloat())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.FloatTypeHandler
_131
_233
_1deserialize
_2deserialize
v0data.getAsFloat()
  • java.util.Optional
v0data.getAsFloat()
ReturnsTrue
return data.getAsDouble();return Optional.of(data.getAsDouble());data.getAsDouble()Optional.of(data.getAsDouble())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.DoubleTypeHandler
_131
_233
_1deserialize
_2deserialize
v0data.getAsDouble()
  • java.util.Optional
v0data.getAsDouble()
ReturnsTrue
return (byte)data.getAsInteger();return Optional.of((byte)data.getAsInteger());(byte)data.getAsInteger()Optional.of((byte)data.getAsInteger())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.ByteTypeHandler
_131
_233
_1deserialize
_2deserialize
v0(byte)data.getAsInteger()
  • java.util.Optional
v0(byte)data.getAsInteger()
ReturnsTrue
return data.getAsBytes();return Optional.of(data.getAsBytes());data.getAsBytes()Optional.of(data.getAsBytes())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.ByteArrayTypeHandler
_127
_229
_1deserialize
_2deserialize
v0data.getAsBytes()
  • java.util.Optional
v0data.getAsBytes()
ReturnsTrue
return data.getAsBoolean();return Optional.of(data.getAsBoolean());data.getAsBoolean()Optional.of(data.getAsBoolean())Terasology583ea07c9f0763b7b0912048eb20f0750befb192org.terasology.persistence.typeHandling.coreTypes.BooleanTypeHandler
_131
_233
_1deserialize
_2deserialize
v0data.getAsBoolean()
  • java.util.Optional
v0data.getAsBoolean()
ReturnsTrue
return bulkIndexer.stop();return Optional.of(bulkIndexer.stop());bulkIndexer.stop()Optional.of(bulkIndexer.stop())sonarqubea8f011b7f52fedd8f0294db46d3f02334383391dorg.sonar.server.rule.index.RuleIndexer
_1159
_2160
_1doIndexRuleExtensions
_2doIndexRuleExtensions
v0bulkIndexer.stop()
  • java.util.Optional
v0bulkIndexer.stop()
ReturnsTrue
return bulkIndexer.stop();return Optional.of(bulkIndexer.stop());bulkIndexer.stop()Optional.of(bulkIndexer.stop())sonarqubea8f011b7f52fedd8f0294db46d3f02334383391dorg.sonar.server.rule.index.RuleIndexer
_1133
_2130
_1doIndexRules
_2doIndexRules
v0bulkIndexer.stop()
  • java.util.Optional
v0bulkIndexer.stop()
ReturnsTrue
return credentials.iterator().next();return Optional.of(credentials.iterator().next());credentials.iterator().next()Optional.of(credentials.iterator().next())cas495d0fa2972cd45032ac912314d04d511ad11daeorg.apereo.cas.authentication.AuthenticationTransaction
_158
_259
_1getCredential
_2getCredential
v0credentials.iterator().next()
  • java.util.Optional
v0credentials.iterator().next()
ReturnsTrue
return jestResult.getJsonObject();return Optional.of(jestResult.getJsonObject());jestResult.getJsonObject()Optional.of(jestResult.getJsonObject())graylog2-server6d98f00e1b8b8c9b7cfb95dd5a470f75b2708443org.graylog2.indexer.cluster.Cluster
_168
_269
_1clusterHealth
_2clusterHealth
v0jestResult.getJsonObject()
  • java.util.Optional
v0jestResult.getJsonObject()
ReturnsTrue
return handler;return Optional.of(handler);handlerOptional.of(handler)Terasology98ab2036c68a634975f0465d39fd331268055fb3org.terasology.persistence.typeHandling.TypeSerializationLibrary
_1221
_2224
_1getTypeHandler
_2getTypeHandler
v0handler
  • java.util.Optional
v0handler
ReturnsTrue
return (TypeHandler<T>)typeHandlerCache.get(type);return Optional.of((TypeHandler<T>)typeHandlerCache.get(type));(TypeHandler<T>)typeHandlerCache.get(type)Optional.of((TypeHandler<T>)typeHandlerCache.get(type))Terasology98ab2036c68a634975f0465d39fd331268055fb3org.terasology.persistence.typeHandling.TypeSerializationLibrary
_1221
_2224
_1getTypeHandler
_2getTypeHandler
v0(TypeHandler<T>)typeHandlerCache.get(type)
  • java.util.Optional
v0(TypeHandler<T>)typeHandlerCache.get(type)
ReturnsTrue
return HttpClient.newHttpClient();return Optional.of(HttpClient.newHttpClient());HttpClient.newHttpClient()Optional.of(HttpClient.newHttpClient())cryptomatora96239a19fa3f6c470c59473e5e386acb66125a1org.cryptomator.ui.fxapp.UpdateCheckerModule
_140
_241
_1provideHttpClient
_2provideHttpClient
v0HttpClient.newHttpClient()
  • java.util.Optional
v0HttpClient.newHttpClient()
ReturnsTrue
return scenario.getKeyword();return Optional.of(scenario.getKeyword());scenario.getKeyword()Optional.of(scenario.getKeyword())cucumber-jvm365f45a2df0bff71567bd457d663185f5f3cc788io.cucumber.core.gherkin.messages.GherkinMessagesScenarioOutline
_130
_230
_1getKeyWord
_2getKeyword
v0scenario.getKeyword()
  • java.util.Optional
v0scenario.getKeyword()
ReturnsTrue
return scenario.getKeyword();return Optional.of(scenario.getKeyword());scenario.getKeyword()Optional.of(scenario.getKeyword())cucumber-jvm365f45a2df0bff71567bd457d663185f5f3cc788io.cucumber.core.gherkin.messages.GherkinMessagesScenario
_114
_216
_1getKeyWord
_2getKeyword
v0scenario.getKeyword()
  • java.util.Optional
v0scenario.getKeyword()
ReturnsTrue
return rule.getKeyword();return Optional.of(rule.getKeyword());rule.getKeyword()Optional.of(rule.getKeyword())cucumber-jvm365f45a2df0bff71567bd457d663185f5f3cc788io.cucumber.core.gherkin.messages.GherkinMessagesRule
_138
_238
_1getKeyWord
_2getKeyword
v0rule.getKeyword()
  • java.util.Optional
v0rule.getKeyword()
ReturnsTrue
return gherkinDocument.getFeature().getKeyword();return Optional.of(gherkinDocument.getFeature().getKeyword());gherkinDocument.getFeature().getKeyword()Optional.of(gherkinDocument.getFeature().getKeyword())cucumber-jvm365f45a2df0bff71567bd457d663185f5f3cc788io.cucumber.core.gherkin.messages.GherkinMessagesFeature
_154
_253
_1getKeyword
_2getKeyword
v0gherkinDocument.getFeature().getKeyword()
  • java.util.Optional
v0gherkinDocument.getFeature().getKeyword()
ReturnsTrue
return examples.getKeyword();return Optional.of(examples.getKeyword());examples.getKeyword()Optional.of(examples.getKeyword())cucumber-jvm365f45a2df0bff71567bd457d663185f5f3cc788io.cucumber.core.gherkin.messages.GherkinMessagesExamples
_131
_232
_1getKeyWord
_2getKeyword
v0examples.getKeyword()
  • java.util.Optional
v0examples.getKeyword()
ReturnsTrue
return STR0 + rowIndex;return Optional.of(STR0 + rowIndex);STR0 + rowIndexOptional.of(STR0 + rowIndex)cucumber-jvm365f45a2df0bff71567bd457d663185f5f3cc788io.cucumber.core.gherkin.messages.GherkinMessagesExample
_122
_224
_1getName
_2getName
v0STR0 + rowIndex
  • java.util.Optional
v0STR0 + rowIndex
ReturnsTrue
return lastResult;return Optional.of(lastResult);lastResultOptional.of(lastResult)prestob305f35dba77f2bb2db371930c54c2cfa700f7efcom.facebook.presto.server.StatementResource.Query
_1383
_2486
_1getResults
_2getCachedResult
v0lastResult
  • java.util.Optional
v0lastResult
ReturnsTrue
return VCVARSALLBAT;return Optional.of(VCVARSALLBAT);VCVARSALLBATOptional.of(VCVARSALLBAT)buck8854560c2383dbb3ed0f1a14e13ecd9a3fe14c67com.facebook.buck.testutil.WindowsUtils
_1111
_274
_1getVcvarsallbat
_2getVcvarsallbat
v0VCVARSALLBAT
  • java.util.Optional
v0VCVARSALLBAT
ReturnsTrue
return Integer.toString(record.partition());return Optional.of(Integer.toString(record.partition()));Integer.toString(record.partition())Optional.of(Integer.toString(record.partition()))pulsarea6eae7d22e94fd2a998813ec9b2af42d9035fc0org.apache.pulsar.io.kafka.KafkaAbstractSource.KafkaRecord
_1141
_2142
_1getPartitionId
_2getPartitionId
v0Integer.toString(record.partition())
  • java.util.Optional
v0Integer.toString(record.partition())
ReturnsTrue
return blocked;return Optional.of(blocked);blockedOptional.of(blocked)presto39add90f196c24bdad507e67a4db467946496bb8com.facebook.presto.operator.Driver
_1460
_2460
_1getBlockedFuture
_2getBlockedFuture
v0blocked
  • java.util.Optional
v0blocked
ReturnsTrue
return stacks;return Optional.of(stacks);stacksOptional.of(stacks)BuildCraftc045d0ec28050231cd28e4477db9e9a82d8d4e5bbuildcraft.lib.misc.BlockUtil
_1197
_2198
_1breakBlockAndGetDrops
_2breakBlockAndGetDrops
v0stacks
  • java.util.Optional
v0stacks
ReturnsTrue