Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 292 for GetMethod (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/AlwaysFollowAndPreserveMethodRedirectStrategy.java

            URI uri = this.getLocationURI(request, response, context);
            String method = request.getRequestLine().getMethod();
            if (method.equalsIgnoreCase(HttpHead.METHOD_NAME)) {
                return new HttpHead(uri);
            } else if (method.equalsIgnoreCase(HttpPost.METHOD_NAME)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
                            Type returnType = m.getParameterTypes()[0]
                                    .getMethod("get" + entity)
                                    .getGenericReturnType();
                            if (returnType instanceof ParameterizedType) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/ReflectionCache.java

                for (Class<?> aClass : classes) {
                    cur = last.table;
                    last = fetchNext(cur, aClass);
                }
                if (last.value == null || last.value.getMethod() == null) {
                    last.value = create(receiver, classes);
                }
                return last.value;
            }
    
            private CacheEntry fetchNext(WeaklyClassReferencingCache cur, Class<?> aClass) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/AllowFollowForMutatingMethodRedirectStrategyTest.groovy

            response.getStatusLine() >> new BasicStatusLine(new ProtocolVersion("HTTP", 1, 1), redirect, "ignored")
            request.getRequestLine() >> Mock(RequestLine) {
                getMethod() >> httpMethod
                getUri() >> "http://original.com"
            }
    
            when:
            def redirectRequest = strategy.getRedirect(request, response, context)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Invokable.java

     * which may be a subtype of the declaring class. For example:
     *
     * <pre>{@code
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
    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. platforms/core-runtime/build-process-services/src/main/java/org/gradle/launcher/bootstrap/ProcessBootstrap.java

            try {
                Class<?> mainClass = runtimeClassLoader.loadClass(mainClassName);
                Object entryPoint = mainClass.getConstructor().newInstance();
                Method mainMethod = mainClass.getMethod("run", String[].class);
                mainMethod.invoke(entryPoint, new Object[]{args});
            } finally {
                Thread.currentThread().setContextClassLoader(oldClassLoader);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

      private val delegate: X509TrustManager,
      private val insecureHosts: List<String>,
    ) : X509TrustManager {
      private val checkServerTrustedMethod: Method? =
        try {
          delegate::class.java.getMethod(
            "checkServerTrusted",
            Array<X509Certificate>::class.java,
            String::class.java,
            String::class.java,
          )
        } catch (_: NoSuchMethodException) {
          null
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
        return Helpers.getMethod(SetAddTester.class, "testAdd_supportedNullPresent");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top