Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,619 for method1 (0.16 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

            Method[] methods = type.getDeclaredMethods();
            // Make sure getters end up before the setters
            Arrays.sort(methods, comparing(Method::getName));
            for (Method method : methods) {
                processMethodAnnotations(method, methodBuilders, validationContext);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K 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/documentation/docs/src/snippets/publishing/javaLibrary/groovy/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)
  4. 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)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestLauncher.java

        /**
         * <p>Adds tests to be executed declared by class and methods name.</p>
         *
         * <p>This method ignores tests defined in included builds.</p>
         *
         * @param testClass The name of the class containing the methods to execute.
         * @param methods The names of the test methods to be executed.
         * @return this
         * @since 2.7
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top