Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,612 for MethodC (0.14 sec)

  1. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy

            def b1 = builder.block(null, "block1")
            b1.methodInvocation("comment", "method1")
            b1.methodInvocation("comment", "method2")
            b1.methodInvocation(null, "method3")
            b1.methodInvocation(null, "method4")
            def b2 = builder.block("another block", "block2")
            b2.methodInvocation(null, "method1")
            b2.propertyAssignment(null, "foo", "bar", true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  2. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.DefaultTask.configure(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (DefaultTask.java:0)
    Method <org.gradle.api.DefaultTask.configure(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (DefaultTask.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

    - Method notARule() is not a valid rule method: A method that is not annotated as a rule must be private
    - Method thing() is not a valid rule method: The declared model element path ':)' is not a valid path: Model element name ':)' has illegal first character ':' (names must start with an ASCII letter or underscore).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/plugin_test.go

    func TestMethod(t *testing.T) {
    	// Exported symbol's method must be live.
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-o", "plugin.so", "./method/plugin.go")
    	goCmd(t, "build", "-o", "method.exe", "./method/main.go")
    	run(t, "./method.exe")
    }
    
    func TestMethod2(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-o", "method2.so", "./method2/plugin.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top