Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,399 for METHOD (0.21 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

            } else if (!method.getParameters().isEmpty() || !method.getSimpleName().toString().startsWith("get")) {
                return Collections.singletonList(new InvalidRequest(String.format("Method '%s.%s' annotated with @ReplacesEagerProperty should be a simple getter: name should start with 'get' and method should not have any parameters.", method.getEnclosingElement(), method)));
            }
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. 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)
  3. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private final Map<String, List<Method>> methodByNameMap = new Hashtable<>();
    
        /**
         * Add a method to a list of methods by name.
         * For a particular class we are keeping track
         * of all the methods with the same name.
         *
         * @param method The method
         */
        void add(Method method) {
            String methodName = method.getName();
    
            List<Method> l = get(methodName);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  4. android/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)
  5. api/go1.21.txt

    pkg log/slog, method (Value) Any() interface{} #56345
    pkg log/slog, method (Value) Bool() bool #56345
    pkg log/slog, method (Value) Duration() time.Duration #56345
    pkg log/slog, method (Value) Equal(Value) bool #56345
    pkg log/slog, method (Value) Float64() float64 #56345
    pkg log/slog, method (Value) Group() []Attr #56345
    pkg log/slog, method (Value) Int64() int64 #56345
    pkg log/slog, method (Value) Kind() Kind #56345
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                assertHasAccepted(
                    "Method com.example.Task.getSourceCompatibility(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method return type has changed", "Method is now abstract"),
                    "Method com.example.Task.setSourceCompatibility(java.lang.String): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed")
                )
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    .collect(toList());
    
            List<Method> factoryMethods = Arrays.stream(cls.getDeclaredMethods())
                    .filter(method -> method.getReturnType() == cls && Modifier.isStatic(method.getModifiers()))
                    .collect(toList());
            List<Method> injectFactoryMethods = factoryMethods.stream()
                    .filter(method -> method.isAnnotationPresent(Inject.class))
                    .collect(toList());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/Invokable.java

        final Method method;
    
        MethodInvokable(Method method) {
          super(method);
          this.method = method;
        }
    
        @Override
        @CheckForNull
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
            throws InvocationTargetException, IllegalAccessException {
          return method.invoke(receiver, args);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    public enum $TEST_INTERFACE_SIMPLE_NAME {
                        field;
                        void method() { }
                    }
                """
                : apiElement.startsWith('annotation') ? """
                    public @interface $TEST_INTERFACE_SIMPLE_NAME {
                        String method();
                    }
                """
                : apiElement == 'interface' ? """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  10. src/net/http/pattern.go

    		}
    	}()
    
    	method, rest, found := s, "", false
    	if i := strings.IndexAny(s, " \t"); i >= 0 {
    		method, rest, found = s[:i], strings.TrimLeft(s[i+1:], " \t"), true
    	}
    	if !found {
    		rest = method
    		method = ""
    	}
    	if method != "" && !validMethod(method) {
    		return nil, fmt.Errorf("invalid method %q", method)
    	}
    	p := &pattern{str: s, method: method}
    
    	if found {
    		off = len(method) + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top