Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 6,733 for Method1 (0.19 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaMethod.java

        }
    
        public JavaMethod(Class<R> returnType, Method method) {
            this.returnType = returnType;
            this.method = method;
            method.setAccessible(true);
        }
    
        private static Method findMethod(Class<?> target, String name, boolean allowStatic, Class<?>[] paramTypes) {
            // First try to find a method from all public methods
            Method method = findMethodFrom(target.getMethods(), name, allowStatic, paramTypes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 11:07:38 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodSet.java

        public void add(Method method) {
            MethodKey key = new MethodKey(method);
            Method current = methods.get(key);
            if (current == null || shouldReplace(current, method)) {
                // Prefer implementation methods over abstract or bridge methods
                methods.put(key, method);
            }
        }
    
        private boolean shouldReplace(Method current, Method method) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/CandidateMethods.java

            ImmutableMap.Builder<Equivalence.Wrapper<Method>, Collection<Method>> builder = ImmutableMap.builder();
            for (Map<Equivalence.Wrapper<Method>, Collection<Method>> candidatesForSomeName : candidates.values()) {
                builder.putAll(candidatesForSomeName);
            }
            return builder.build();
        }
    
        /**
         * @param methodName Method name
         * @return Candidate methods named {@literal methodName} or {@literal null} if none
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy

            then:
            noExceptionThrown()
    
            where:
            methods << getQueryMethods() + getMutatingMethods()
        }
    
        def "allow common querying and mutating methods when #methods.key within getByName configuration action on filtered container by spec"() {
            setupContainerDefaults()
            addToContainer(a)
            Closure method = bind(methods.value)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // now get the 'public method', the method declared by a
                // public interface or class (because the actual implementing
                // class may be a facade...)
    
                Method publicMethod = getPublicMethod(method);
    
                // it is entirely possible that there is no public method for
                // the methods of this class (i.e. in the facade, a method
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  6. test/fixedbugs/issue52841.go

    // Issue 52841: gofrontend crashed writing export data
    
    package p
    
    func F() {
    	x := ([17][1]interface {
    		Method9()
    		Method10()
    	}{
    		func() (V47 [1]interface {
    			Method9()
    			Method10()
    		}) {
    			return
    		}(),
    		func(V48 string) (V49 [1]interface {
    			Method9()
    			Method10()
    		}) {
    			return
    		}("440"),
    	})
    	_ = x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 21:45:28 UTC 2022
    - 493 bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtils.java

            for (String methodName : methodsByName.keySet()) {
                ImmutableList<Method> methodsWithSameName = methodsByName.get(methodName);
                ListMultimap<Equivalence.Wrapper<Method>, Method> equivalenceIndex = Multimaps.index(methodsWithSameName, new Function<Method, Equivalence.Wrapper<Method>>() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 06 15:03:49 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

                method = method.substring(0, method.length() - 4) + "[])";
            }
    
            MethodLinkMetaData metaData = methods.get(method);
            if (metaData != null) {
                return metaData;
            }
    
            List<MethodLinkMetaData> candidates = new ArrayList<MethodLinkMetaData>();
            for (MethodLinkMetaData methodLinkMetaData : methods.values()) {
                if (methodLinkMetaData.name.equals(method)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/RuleSource.java

     * <p>
     * The following constraints apply to all rule methods:
     * <ul>
     * <li>A method may only be annotated by at most one of the above annotations.</li>
     * <li>A rule method may be {@code static} or not; it makes no difference.</li>
     * <li>A rule method cannot be generic (i.e. cannot have type parameters).</li>
     * <li>With the exception of {@link Model} methods, all methods must have at least one parameter.</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/go/doc/testdata/e.go

    // Higher-level method M wins over lower-level method M.
    
    // T2 has only M as top-level method.
    type T2 struct {
    	t1
    }
    
    // T2.M should appear as method of T2.
    func (T2) M() {}
    
    // ----------------------------------------------------------------------------
    // Higher-level method M wins over lower-level conflicting methods M.
    
    type t1e struct {
    	t1
    }
    
    type t2e struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.8K bytes
    - Viewed (0)
Back to top