Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,534 for METHOD (0.17 sec)

  1. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ApiMemberWriter.java

        }
    
        protected void writeMethod(MethodMember method) {
            MethodVisitor mv = apiMemberAdapter.visitMethod(
                method.getAccess(), method.getName(), method.getTypeDesc(), method.getSignature(),
                method.getExceptions().toArray(new String[0]));
            writeMethodAnnotations(mv, method.getAnnotations());
            writeMethodAnnotations(mv, method.getParameterAnnotations());
            mv.visitEnd();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/RuleSourceValidationProblemCollector.java

     */
    
    package org.gradle.model.internal.inspect;
    
    import java.lang.reflect.Method;
    
    public interface RuleSourceValidationProblemCollector extends ValidationProblemCollector {
        void add(MethodRuleDefinition<?, ?> method, String problem);
    
        void add(MethodRuleDefinition<?, ?> method, String problem, Throwable cause);
    
        void add(Method method, String problem);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 982 bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/issues0.go

    	_ = x /* ERROR "impossible type assertion: x.(T1)\n\tT1 does not implement I1 (method foo has pointer receiver)" */ .(T1)
    
    	T1{}.foo /* ERROR "cannot call pointer method foo on T1" */ ()
    	x.Foo /* ERROR "x.Foo undefined (type I1 has no field or method Foo, but does have method foo)" */ ()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    	return
    }
    
    // SplitMethod splits the method symbol name into pointer, receiver,
    // and method components. It must be called only on Method symbols.
    //
    // Example: "(*Buffer).Grow" -> (true, "Buffer", "Grow")
    func (sym *Symbol) SplitMethod() (ptr bool, recv, name string) {
    	if sym.Kind != Method {
    		panic("not a method")
    	}
    	recv, name, _ = strings.Cut(sym.Name, ".")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy

                @Override
                Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                    if (method.name == "equals") {
                        return false
                    }
                    if (method.name == "hashCode") {
                        return this.hashCode()
                    }
                    if (method.name == "toString") {
                        return "<proxy>"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/AbstractServiceMethod.java

    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    
    abstract class AbstractServiceMethod implements ServiceMethod {
        private final Method method;
        private final Class<?> owner;
        private final String name;
        private final Type[] parameterTypes;
        private final Type serviceType;
    
        AbstractServiceMethod(Method target) {
            this.method = target;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt

    import okhttp3.Headers
    
    class PushPromise(
      @get:JvmName("method") val method: String,
      @get:JvmName("path") val path: String,
      @get:JvmName("headers") val headers: Headers,
      @get:JvmName("response") val response: MockResponse,
    ) {
      @JvmName("-deprecated_method")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "method"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/errors/wrap.go

    package errors
    
    import (
    	"internal/reflectlite"
    )
    
    // Unwrap returns the result of calling the Unwrap method on err, if err's
    // type contains an Unwrap method returning error.
    // Otherwise, Unwrap returns nil.
    //
    // Unwrap only calls a method of the form "Unwrap() error".
    // In particular Unwrap does not unwrap errors returned by [Join].
    func Unwrap(err error) error {
    	u, ok := err.(interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:04 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/FieldOptionElement.java

            private final Method getter;
            private final Field field;
            private final Class<?> elementType;
    
            public PropertyFieldSetter(Method getter, Field field) {
                this(getter, field, ModelType.of(getter.getGenericReturnType()).getTypeVariables().get(0).getRawClass());
            }
    
            public PropertyFieldSetter(Method getter, Field field, Class<?> elementType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 11:28:20 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                }
            }
        }
    
        private void validateNonRuleMethod(Method method, RuleSourceValidationProblemCollector problems) {
            if (!Modifier.isPrivate(method.getModifiers()) && !Modifier.isStatic(method.getModifiers()) && !method.isSynthetic() && !GroovyMethods.isObjectMethod(method)) {
                problems.add(method, "A method that is not annotated as a rule must be private");
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top