Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,984 for instanceof (0.25 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectUndecoratedTest.groovy

            bean instanceof ModelObject
            bean.modelIdentityDisplayName == null
            !bean.hasUsefulDisplayName()
    
            bean instanceof OwnerAware
    
            !(bean instanceof DynamicObjectAware)
            !(bean instanceof ExtensionAware)
            !(bean instanceof HasConvention)
            !(bean instanceof IConventionAware)
            !(bean instanceof GroovyObject)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

                def expectedValue = getter(expected)
                if (checker instanceof Closure) {
                    if (expectedValue instanceof Collection) {
                        assert actualValue instanceof Collection
                        checkCollection(actualValue, expectedValue, checker)
                    } else if (expectedValue instanceof Map) {
                        assert actualValue instanceof Map
                        checkMap(actualValue, expectedValue, checker)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/AstUtils.java

            if (!(methodCall.getArguments() instanceof ArgumentListExpression)) {
                return null;
            }
    
            ArgumentListExpression args = (ArgumentListExpression) methodCall.getArguments();
            if (args.getExpressions().size() == 2 && args.getExpression(0) instanceof ClassExpression && args.getExpression(1) instanceof ClosureExpression) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy

            expect:
            def step = PatternStepFactory.getStep("**", true);
            step instanceof AnyWildcardPatternStep
            step.matches("anything")
            step.matches("")
        }
    
        def "creates step for * wildcard"() {
            expect:
            def step = PatternStepFactory.getStep("*", true);
            step instanceof AnyWildcardPatternStep
            step.matches("anything")
            step.matches("")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactoryTest.groovy

    The following types/formats are supported:
      - Instances of ConfigurablePublishArtifact.
      - Instances of PublishArtifact.
      - Instances of AbstractArchiveTask, for example jar.
      - Instances of Provider<RegularFile>.
      - Instances of Provider<Directory>.
      - Instances of Provider<File>.
      - Instances of RegularFile.
      - Instances of Directory.
      - Instances of File.
      - Maps with 'file' key'''))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

            def result3 = serialize(message3, serializer)
            result3 instanceof Success
            result3.value instanceof BuildActionResult
            !result3.value.wasCancelled()
            result3.value.result == null
            result3.value.failure == null
            result3.value.exception instanceof RuntimeException
    
            def buildCancelled = BuildActionResult.cancelled(new RuntimeException("broken"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

            // shortcut
            if (to instanceof Class && from instanceof Class) {
                return ((Class<?>) to).isAssignableFrom((Class<?>) from);
            }
            return isAssignable(to, from, false);
        }
    
        private static boolean isAssignable(Type to, Type from, boolean strict) {
            if (to instanceof WildcardType || from instanceof WildcardType) {
                Type[] toUppers, toLowers;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

                projectConfigurationProgressListeners.getSource().statusChanged(event);
            } else if (event instanceof TransformProgressEvent) {
                transformProgressListeners.getSource().statusChanged(event);
            } else if (event instanceof TestOutputEvent) {
                testOutputProgressListeners.getSource().statusChanged(event);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            isolated1 instanceof IsolatedArray
            def copy1 = isolated1.isolate()
            copy1 == [] as String[]
            copy1.class == String[].class
            !copy1.is(original1)
    
            def original2 = ["123"] as String[]
            def isolated2 = isolatableFactory.isolate(original2)
            isolated2 instanceof IsolatedArray
            def copy2 = isolated2.isolate()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/JavaUtilCollectionStrategyTest.groovy

            expect:
            def schema = store.getSchema(ModelTypes.set(ModelType.of(String)))
            schema instanceof ScalarCollectionSchema
            schema instanceof ManagedImplSchema
            !(schema instanceof CompositeSchema)
            !(schema instanceof StructSchema)
            schema.elementType == ModelType.of(String)
            schema.elementTypeSchema == store.getSchema(ModelType.of(String))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top