Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,175 for instanceof (0.32 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. subprojects/core/src/main/java/org/gradle/execution/plan/NodeComparator.java

            }
            if (o2 instanceof OrdinalNode || o2 instanceof ResolveMutationsNode) {
                return 1;
            }
    
            if (o1 instanceof CreationOrderedNode) {
                if (o2 instanceof CreationOrderedNode) {
                    return ((CreationOrderedNode) o1).getOrder() - ((CreationOrderedNode) o2).getOrder();
                }
                return -1;
            }
            if (o2 instanceof CreationOrderedNode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/TaskDefinitionScriptTransformer.java

                }
    
                return call.getArguments() instanceof ArgumentListExpression;
            }
    
            private boolean isTaskIdentifier(Expression expression) {
                return expression instanceof ConstantExpression || expression instanceof GStringExpression;
            }
    
            private boolean isDynamicVar(Expression expression) {
                if (!(expression instanceof VariableExpression)) {
                    return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 19 22:17:48 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top