Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,578 for METHOD (0.11 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            e.cause.message == "Cannot use @Inject annotation on method ExtensibleBeanWithInject.getExtensions()."
        }
    
        def "cannot attach @Inject annotation to final method"() {
            when:
            generator.generate(FinalInjectBean)
    
            then:
            def e = thrown(ClassGenerationException)
            e.cause.message == "Cannot use @Inject annotation on method FinalInjectBean.getThing() as it is final."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/builder/testdata/http/single-policy-out.yaml

                - orRules:
                    rules:
                    - header:
                        name: :method
                        stringMatch:
                          exact: rule[0]-to[0]-method[1]
                    - header:
                        name: :method
                        stringMatch:
                          exact: rule[0]-to[0]-method[2]
                - orRules:
                    rules:
                    - urlPath:
                        path:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. android/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.8K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

            fails "resolve"
            errorOutput.contains("Could not find method myDist() for arguments")
        }
    
        def "reports missing method from inside configure closure"() {
            buildFile << """
    configurations {
        broken {
            noExist(12)
        }
    }
    """
    
            expect:
            fails()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. 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)
  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. 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)
  9. android/guava/src/com/google/common/base/Throwables.java

          }
        };
      }
    
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static Object invokeAccessibleNonThrowingMethod(
          Method method, Object receiver, Object... params) {
        try {
          return method.invoke(receiver, params);
        } catch (IllegalAccessException e) {
          throw new RuntimeException(e);
        } catch (InvocationTargetException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/LoggingDeprecatedFeatureHandlerTest.groovy

                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
                new StackTraceElement('some.Class', 'withoutSource', null, -1),
                new StackTraceElement('some.Class', 'withNativeMethod', null, -2),
                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 16:09:54 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top