Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,881 for METHOD (0.09 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassInspector.java

            for (Method method : type.getDeclaredMethods()) {
                classDetails.method(method);
    
                if (Modifier.isPrivate(method.getModifiers()) || Modifier.isStatic(method.getModifiers())) {
                    continue;
                }
    
                PropertyAccessorType accessorType = PropertyAccessorType.of(method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultModelRuleInvoker.java

    import org.gradle.internal.Factory;
    import org.gradle.model.internal.method.WeaklyTypeReferencingMethod;
    
    import java.lang.reflect.Modifier;
    
    class DefaultModelRuleInvoker<I, R> implements ModelRuleInvoker<R> {
        private final WeaklyTypeReferencingMethod<I, R> method;
        private final Factory<? extends I> factory;
    
        DefaultModelRuleInvoker(WeaklyTypeReferencingMethod<I, R> method, Factory<? extends I> factory) {
            this.method = method;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/tasks/Upload.java

        }
    
        /**
         * Do not use this method, it will always return {@code false}.
         * @deprecated This class is scheduled for removal in a future version, this method <strong>should not be used</strong>.
         */
        @Input
        @Deprecated
        public boolean isUploadDescriptor() {
            return false;
        }
    
        /**
         * Do not use this method, it does nothing.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultMethodModelRuleExtractionContext.java

            problems.add(field, problem);
        }
    
        @Override
        public void add(Method method, String problem) {
            problems.add(method, problem);
        }
    
        @Override
        public void add(Method method, String role, String problem) {
            problems.add(method, role, problem);
        }
    
        @Override
        public void add(Constructor<?> constructor, String problem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskMutator.java

                        break;
                }
            }
            if (method == null) {
                return;
            }
    
            throw new IllegalStateException(format(method));
        }
    
        private String format(String method) {
            return String.format("Cannot call %s on %s after task has started execution.", method, task);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

         * @param method
         *            メソッド。{@literal null}であってはいけません
         */
        public MethodDescImpl(final BeanDesc beanDesc, final Method method) {
            assertArgumentNotNull("beanDesc", beanDesc);
            assertArgumentNotNull("method", method);
    
            this.beanDesc = beanDesc;
            this.method = method;
            methodName = method.getName();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy

        def "serializes a method invocation with parameters"() {
            def method = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE)
            def invocation = new MethodInvocation(method, [1, 2] as Object[])
    
            when:
            def serialized = serialize(invocation)
            def result = deserialize(serialized)
    
            then:
            result.method == method
            result.arguments == [1, 2] as Object[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/RuleSourceBackedRuleActionTest.groovy

            new RuleSourceWithDifferentSubjectType()  | [ "Method theRule(java.util.List<java.lang.Integer>) is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ]
            new RuleSourceWithNoSubject()             | [ "Method theRule() is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            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());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            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());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top