Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,580 for METHOD (1.88 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. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                assertHasAccepted(
                    "Method com.example.Task.getSourceCompatibility(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method return type has changed", "Method is now abstract"),
                    "Method com.example.Task.setSourceCompatibility(java.lang.String): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed")
                )
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. 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)
  7. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    .collect(toList());
    
            List<Method> factoryMethods = Arrays.stream(cls.getDeclaredMethods())
                    .filter(method -> method.getReturnType() == cls && Modifier.isStatic(method.getModifiers()))
                    .collect(toList());
            List<Method> injectFactoryMethods = factoryMethods.stream()
                    .filter(method -> method.isAnnotationPresent(Inject.class))
                    .collect(toList());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. guava/src/com/google/common/reflect/Invokable.java

        final Method method;
    
        MethodInvokable(Method method) {
          super(method);
          this.method = method;
        }
    
        @Override
        @CheckForNull
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
            throws InvocationTargetException, IllegalAccessException {
          return method.invoke(receiver, args);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top