Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for methodName (0.16 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
                    throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          args: Array<Any>?,
        ): Any? {
          val callArgs = args ?: arrayOf<Any?>()
          val methodName = method.name
          val returnType = method.returnType
          if (methodName == "supports" && Boolean::class.javaPrimitiveType == returnType) {
            return true // ALPN is supported.
          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            private final String containingType;
            private final String methodName;
            private final String descriptor;
    
            private AccessorKey(String containingType, String methodName, String descriptor) {
                this.containingType = containingType;
                this.methodName = methodName;
                this.descriptor = descriptor;
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 13 19:17:41 GMT 2024
    - 8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/MathPreconditions.java

      }
    
      static void checkNoOverflow(boolean condition, String methodName, int a, int b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
      static void checkNoOverflow(boolean condition, String methodName, long a, long b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                i2, s1, s2, i3, s1, s2)
            .inOrder();
      }
    
      private static Subscriber subscriber(
          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      public final class IntegerSubscriber {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                    throw new RuntimeException('No "class" attribute specified for <apilink> element.')
                }
                String methodName = element.'@method'
    
                def classMetaData = linkRepository.get(className)
                LinkMetaData linkMetaData = methodName ? classMetaData.getMethod(methodName) : classMetaData.classLink
                String style = element.'@style' ?: linkMetaData.style.toString().toLowerCase(Locale.ROOT)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

        }
    
        private static class PropertyLinkMetaData extends MethodLinkMetaData {
            private final String propertyName;
    
            private PropertyLinkMetaData(String propertyName, String methodName, String signature) {
                super(methodName, signature, LinkMetaData.Style.Dsldoc);
                this.propertyName = propertyName;
            }
    
            @Override
            public String getUrlFragment(String className) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 11:17:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            if (!jApiMethod.getName().startsWith("getIs")) {
                return false;
            }
            String methodName = "get" + jApiMethod.getName().substring(5);
            return currentMethods.containsKey(AccessorKey.ofMethodWithSameSignatureButNewName(methodName, jApiMethod));
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top