Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 4,294 for METHOD (0.18 sec)

  1. guava-tests/test/com/google/common/reflect/InvokableTest.java

        for (Method method : c.getMethods()) {
          if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) {
            continue;
          }
          StringBuilder signature =
              new StringBuilder()
                  .append(typeName(method.getReturnType()))
                  .append(" ")
                  .append(method.getName())
                  .append("(");
          String sep = "";
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       whether the author intended for the class to be a value type.
       *   <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic
       *       proxy will be passed to the method. It's possible that the method body expects an
       *       instance method of the passed-in proxy to be of a certain value yet the proxy isn't aware
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelPropertyExtractionContext.java

            if (getGetter == null && isGetter == null) {
                return null;
            }
            Iterable<Method> getMethods = getGetter != null ? getGetter.getDeclaringMethods() : Collections.<Method>emptyList();
            Iterable<Method> isMethods = isGetter != null ? isGetter.getDeclaringMethods() : Collections.<Method>emptyList();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
        for (Method method : ParameterTest.class.getDeclaredMethods()) {
          for (Parameter param : Invokable.from(method).getParameters()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/ParameterTest.java

          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
        for (Method method : ParameterTest.class.getDeclaredMethods()) {
          for (Parameter param : Invokable.from(method).getParameters()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/methodsets.go

    func (T0) v0() {}
    func (*T0) p0() {}
    
    type T1 struct {} // like T0 with different method names
    
    func (T1) v1() {}
    func (*T1) p1() {}
    
    type T2 interface {
    	v2()
    	p2()
    }
    
    type T3 struct {
    	T0
    	*T1
    	T2
    }
    
    // Method expressions
    func _() {
    	var (
    		_ func(T0) = T0.v0
    		_ = T0.p0 /* ERROR "invalid method expression T0.p0 (needs pointer receiver (*T0).p0)" */
    
    		_ func (*T0) = (*T0).v0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/net/rpc/server.go

    	for m := 0; m < typ.NumMethod(); m++ {
    		method := typ.Method(m)
    		mtype := method.Type
    		mname := method.Name
    		// Method must be exported.
    		if !method.IsExported() {
    			continue
    		}
    		// Method needs three ins: receiver, *args, *reply.
    		if mtype.NumIn() != 3 {
    			if logErr {
    				log.Printf("rpc.Register: method %q has %d input parameters; needs exactly three\n", mname, mtype.NumIn())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/decls2/decls2a.go

    // Methods with zero or multiple receivers.
    func ( /* ERROR "method has no receiver" */ ) _() {}
    func (T3, * /* ERROR "method has multiple receivers" */ T3) _() {}
    func (T3, T3, T3 /* ERROR "method has multiple receivers" */ ) _() {}
    func (a, b /* ERROR "method has multiple receivers" */ T3) _() {}
    func (a, b, c /* ERROR "method has multiple receivers" */ T3) _() {}
    
    // Methods associated with non-local or unnamed types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/FormattingValidationProblemCollector.java

            }
        }
    
        @Override
        public void add(Method method, String role, String problem) {
            MethodDescription description = MethodDescription.name(method.getName())
                    .takes(method.getGenericParameterTypes());
            StringBuilder message = new StringBuilder("Method ");
            if (method.getDeclaringClass().equals(source.getConcreteClass())) {
                message.append(description);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top