Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for instanceof (0.18 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

                    return definitions.any { it instanceof IncludedBuild }
                }
    
                @Override
                TestFile getAccessLocation(List<BuildWithSystemPropertyDefined> definitions, AbstractIntegrationSpec test) {
                    IncludedBuild includedBuild = definitions.find { it instanceof IncludedBuild }
                    return test.file("${includedBuild.name}/build.gradle")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

            assert expected instanceof KotlinDslScriptsModel
            assert actual instanceof KotlinDslScriptsModel
    
            checkModel(actual, expected, [
                [{ it.scriptModels }, { a, e -> checkKotlinDslScriptModel(a, e) }]
            ])
        }
    
        static void checkKotlinDslScriptModel(actual, expected) {
            assert expected instanceof KotlinDslScriptModel
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof ConstructorParameterSingleValue;
        }
    
        @Override
        public int hashCode() {
          return 1;
        }
    
        public static class Singleton {
          public static final Singleton INSTANCE = new Singleton();
    
          private Singleton() {}
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java

            if (t instanceof InterruptedException) {
                Thread.currentThread().interrupt();
            }
            if (t instanceof RuntimeException) {
                throw (RuntimeException) t;
            }
            if (t instanceof Error) {
                throw (Error) t;
            }
            if (t instanceof IOException) {
                if (preserveMessage) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

            assert model != null
    
            assert model instanceof BaseModel
    
            assert model instanceof ShallowChildModel
            assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'"
    
            assert model instanceof DeepChildModel
            assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
    
            assert model instanceof VeryDeepChildModel
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethodParameter(
          @Nullable final Object instance, final Method method, int paramIndex) {
        method.setAccessible(true);
        testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) {
        method.setAccessible(true);
        testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                Throwable cause = e.getCause();
                while (cause != null && !(cause instanceof LinkageError) && !(cause instanceof ClassNotFoundException)) {
                    cause = cause.getCause();
                }
    
                if ((cause instanceof NoClassDefFoundError) || (cause instanceof ClassNotFoundException)) {
                    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java

        }
    
        protected VisitableURLClassLoader(String name, ClassLoader parent, ClassPath classPath) {
            this(name, classPath.getAsURLArray(), parent);
            if (classPath instanceof TransformedClassPath && !(this instanceof InstrumentingClassLoader)) {
                throw new IllegalArgumentException("Cannot build a non-instrumenting class loader " + name + " out of transformed class path");
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            AnnotatedBindingBuilder<Object> binder = bind(itf);
                            if (key.getQualifier() instanceof String s) {
                                binder.annotatedWith(Names.named(s));
                            } else if (key.getQualifier() instanceof Annotation a) {
                                binder.annotatedWith(a);
                            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top