Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,613 for METHOD (0.1 sec)

  1. 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)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/OptionReader.java

                }
            }
            return methodOptionElements;
        }
    
        private Option findOption(Method method) {
            Option option = method.getAnnotation(Option.class);
            if (option != null) {
                if (Modifier.isStatic(method.getModifiers())) {
                    throw new OptionValidationException(String.format("@Option on static method '%s' not supported in class '%s'.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 09:51:34 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

         * ref: https://github.com/gradle/gradle/issues/16117
         *
         * @param method a candidate method
         * @return true if we suspect this method to be a safely ignorable generated method
         */
        private boolean isIgnoredGeneratedGroovyMethod(Method method) {
            return generatedMethodDetector.test(method) && method.getName().contains("$");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  6. android/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
    - 18.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    fun KtFile.collectKtPropertiesFor(qualifiedBaseName: String, method: CtMethod): List<KtProperty> {
    
        val hasGetGetterName = method.name.matches(propertyGetterNameRegex)
        val hasIsGetterName = method.name.matches(propertyIsGetterNameRegex)
        val hasGetterName = hasGetGetterName || hasIsGetterName
        val hasSetterName = method.name.matches(propertySetterNameRegex)
        val paramCount = method.parameterTypes.size
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 20:38:19 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        private void setupValueOfMethod() {
            for (final Method method : propertyType.getMethods()) {
                if (method.isBridge() || method.isSynthetic()) {
                    continue;
                }
                if (ModifierUtil.isStatic(method.getModifiers()) && method.getName().equals("valueOf") && method.getParameterTypes().length == 1
                        && method.getParameterTypes()[0].equals(String.class)) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

                }
            }
    
            @Override
            SnippetsFactory getKotlin() {
                return makeFactory(method) { fixture ->
                    fixture.newKotlinExecJavaexecSnippets(method, kotlinSpecFactory.apply(fixture))
                }
            }
    
            @Override
            SnippetsFactory getJava() {
                return makeFactory(method) { fixture ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top