Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,612 for MethodC (0.14 sec)

  1. platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java

            }
            return null;
        }
    
        // GetMethod is used in a private method, so doesn't belong to the API
        private int doGet(GetMethod method) throws Exception {
            int statusCode = client.executeMethod(method);
            if (statusCode != HttpStatus.SC_OK) {
                System.err.println("Method failed: " + method.getStatusLine());
            }
            return statusCode;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java

                return method.getGenericReturnType();
            }
        },
    
        SETTER(3) {
            @Override
            public Class<?> propertyTypeFor(Method method) {
                requireSingleParam(method);
                return method.getParameterTypes()[0];
            }
    
            @Override
            public Type genericPropertyTypeFor(Method method) {
                requireSingleParam(method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutableClassDetails.java

            }
            return property;
        }
    
        void superType(Class<?> type) {
            superTypes.add(type);
        }
    
        void method(Method method) {
            methods.add(method);
        }
    
        void instanceMethod(Method method) {
            instanceMethods.add(method);
        }
    
        MutablePropertyDetails property(String propertyName) {
            MutablePropertyDetails property = properties.get(propertyName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

    }
    
    
    private
    fun ReadContext.putIdentity(id: Int, instance: Any) {
        isolate.identities.putInstance(id, instance)
    }
    
    
    private
    fun invokeAll(methods: List<Method>, bean: Any, vararg args: Any?) {
        methods.forEach { method ->
            method.invoke(bean, *args)
        }
    }
    
    
    object ExternalizableCodec : Codec<Externalizable> {
        override suspend fun WriteContext.encode(value: Externalizable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
        return suppressing(Arrays.asList(methods));
      }
    
      @CanIgnoreReturnValue
      public B suppressing(Collection<Method> methods) {
        suppressedTests.addAll(methods);
        return self();
      }
    
      public Set<Method> getSuppressedTests() {
        return suppressedTests;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

                }
            }
        }
    
        // Groovy3 introduced default methods on GroovyObject that the model objects inhert, skip these
        private static boolean isAcceptable(Method method) {
            return method.getDeclaringClass() == GroovyObject.class;
        }
    
        // Copied from Method.isDefault()
        private static boolean isDefaultInterfaceMethod(Method method) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/testFixtures/groovy/org/gradle/testing/fixture/JUnitPlatformTestFixture.groovy

            Set<TestMethod> methods = [] as LinkedHashSet
            boolean disabled
    
            TestClass(String name, TestFile projectDir) {
                this.name = name
                this.projectDir = projectDir
            }
    
            TestMethod testMethod(String name) {
                def method = new TestMethod(name)
                methods.add(method)
                return method
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            ex.message == """Type ${fullyQualifiedNameOf(ProtectedAndPrivateNonAbstractMethods)} is not a valid managed type:
    - Method setName(java.lang.String) is not a valid method: Protected and private methods are not supported.
    - Method getName() is not a valid method: Protected and private methods are not supported."""
        }
    
        @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTest.groovy

        }
    
        def "call static methods successfully reflectively" () {
            when:
            JavaMethod.ofStatic(myProperties.class, Void, "setStaticProperty", String.class).invokeStatic("foo")
    
            then:
            JavaMethod.ofStatic(myProperties.class, String, "getStaticProperty").invokeStatic() == "foo"
        }
    
        def "static methods are identifiable" () {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top