Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 524 for invoke (0.05 sec)

  1. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * Verifies that {@code method} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethod(@Nullable Object instance, Method method) {
        Class<?>[] types = method.getParameterTypes();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/forked/ForkedMavenInvokerRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.mvn.MavenInvokerRequest;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    
    /**
     * Represents a request to invoke Maven in a forked JVM.
     * This interface extends the {@link MavenInvokerRequest}, adding capabilities specific to forked Maven executions.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingMultiset}.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
          throw e.targetException
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

        TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) {
          this.typeVariableImpl = typeVariableImpl;
        }
    
        @Override
        @CheckForNull
        public Object invoke(Object proxy, Method method, @CheckForNull @Nullable Object[] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ReflectionTest.java

      }
    
      private static final InvocationHandler X_RETURNER =
          new InvocationHandler() {
            @Override
            public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
              return "x";
            }
          };
    
      private static int classesInitialized = 0;
    
      private static class A {
        static {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            final MethodDesc methodDesc = beanDesc.getMethodDescNoException(name);
            if (methodDesc == null) {
                return null;
            }
            final Object value = methodDesc.invoke(annotation);
            if (value == null || "".equals(value)) {
                return null;
            }
            return value;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * Verifies that {@code method} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethod(@Nullable Object instance, Method method) {
        Class<?>[] types = method.getParameterTypes();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
          }
    
        logger.invoke("[$timeMs ms] $message")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top