- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 5,175 for instanceof (0.14 sec)
-
platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ApiMemberWriter.java
String name = value.getName(); if (value instanceof EnumAnnotationValue) { annotationVisitor.visitEnum(name, ((EnumAnnotationValue) value).getTypeDesc(), (String) value.getValue()); } else if (value instanceof SimpleAnnotationValue) { annotationVisitor.visit(name, value.getValue()); } else if (value instanceof ArrayAnnotationValue) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 5.8K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/plugins/ProjectReportsPluginTest.groovy
taskReport instanceOf(TaskReportTask.class) taskReport.outputFile == new File(project.buildDir, "reports/project/tasks.txt") taskReport.projects == [project] as Set Task propertyReport = project.tasks.getByName(ProjectReportsPlugin.PROPERTY_REPORT) propertyReport instanceOf(PropertyReportTask.class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 25 21:08:17 UTC 2022 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ModelClassLoaderFactory.java
} @Override public ClassLoader getClassLoaderFor(ClassLoaderSpec spec, List<? extends ClassLoader> parents) { if (spec instanceof SystemClassLoaderSpec) { return rootClassLoader; } if (spec instanceof MultiParentClassLoader.Spec) { return new MultiParentClassLoader(parents); } if (parents.size() != 1) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultIvyArtifactRepositoryTest.groovy
standardMockHttpTransport() when: def resolver = repository.createResolver() then: with(resolver) { it instanceof IvyResolver repository instanceof ExternalResourceRepository name == 'name' artifactPatterns == ['https://host/[organisation]/[module]/[revision]/[type]s/[artifact](.[ext])']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 24K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/ReportDaemonStatusClientTest.groovy
1 * connection.dispatch({it instanceof ReportStatus}) 1 * connection.receive() >> new Success(new Status(12345, "3.0", "BOGUS")) 1 * connection.dispatch({it instanceof Finished}) 1 * connection.stop() and: 1 * connector.maybeConnect(daemon2) >>> connection _ * connection.daemon >> daemon2 1 * connection.dispatch({it instanceof ReportStatus})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/crossVersionTest/groovy/org/gradle/api/internal/tasks/compile/tooling/JavaCompileTaskOperationResultCrossVersionTest.groovy
then: def operation = events.operation("Task :compileJava") operation.assertIsTask() operation.result instanceof TaskSuccessResult !(operation.result instanceof JavaCompileTaskOperationResult) } private ProgressEvents runBuild(task) { ProgressEvents events = ProgressEvents.create() withConnection { newBuild() .forTasks(task)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy
tester.lastArgs.last() instanceof Action tester.twoArgsReturnsString("foo", {}) == "string" tester.lastArgs.last() instanceof Action tester.oneActionReturnsInt({}) == 1 tester.lastArgs.last() instanceof Action tester.twoArgsReturnsInt("foo", {}) == 1 tester.lastArgs.last() instanceof Action tester.oneActionReturnsArray({}) == [] as Object[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/CompositeCallInterceptor.java
public Class<?> matchesProperty(Class<?> receiverClass) { Class<?> typeOfProperty = null; if (first instanceof PropertyAwareCallInterceptor) { typeOfProperty = ((PropertyAwareCallInterceptor) first).matchesProperty(receiverClass); } if (typeOfProperty == null && second instanceof PropertyAwareCallInterceptor) { typeOfProperty = ((PropertyAwareCallInterceptor) second).matchesProperty(receiverClass);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 14:02:30 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/InterHubMessageSerializerTest.groovy
def result = deserializeMultiple(serialized, 3) then: result[0] instanceof ChannelMessage result[0].channel == channelId1 result[0].payload == "payload 1" result[1] instanceof ChannelMessage result[1].channel == channelId2 result[1].payload == "payload 2" result[2] instanceof ChannelMessage result[2].channel == channelId1 result[2].payload == "payload 3"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy
thread.blockUntil.requested2 stream.received(bytes2) } then: 1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested1 } 1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested2 } } def "read bytes returns when stream is closed"() { def dispatch = Mock(OutputEventListener)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 5.2K bytes - Viewed (0)