Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for getParameterTypes (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                  .transformAndConcat(c -> asList(c.getDeclaredMethods()))
                  .firstMatch(
                      m ->
                          m.getName().equals("writeReplace")
                              && m.getParameterTypes().length == 0
                              // Only package-private methods are a problem.
                              && (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/MethodDesc.java

         */
        String getMethodName();
    
        /**
         * Returns an array of the method's parameter types.
         *
         * @return an array of the method's parameter types
         */
        Class<?>[] getParameterTypes();
    
        /**
         * Returns the return type of the method.
         *
         * @param <T>
         *            the return type of the method
         * @return the return type of the method
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      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)) {
            for (int i = 0; i < arguments.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /**
       * Returns all declared parameters of this {@code Invokable}. Note that if this is a constructor
       * of a non-static inner class, unlike {@link Constructor#getParameterTypes}, the hidden {@code
       * this} parameter of the enclosing class is excluded from the returned parameters.
       */
      @IgnoreJRERequirement
      public final ImmutableList<Parameter> getParameters() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        final String name;
        final List<Class<?>> parameterTypes;
        final TypeSignature typeSignature;
    
        MethodSignature(Method method) {
          name = method.getName();
          parameterTypes = asList(method.getParameterTypes());
          typeSignature = new TypeSignature(method.getTypeParameters());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof MethodSignature) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      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)) {
            for (int i = 0; i < arguments.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                    assertEquals("unwrap", unwrapMethod.getName());
                    assertEquals(1, unwrapMethod.getParameterCount());
                    assertEquals(Class.class, unwrapMethod.getParameterTypes()[0]);
                    // The return type for generic method <T extends SmbSession> T unwrap(Class<T>) is SmbSession at runtime
                    assertTrue(SmbSession.class.isAssignableFrom((Class<?>) unwrapMethod.getReturnType()),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/EventBus.java

          Method method = context.getSubscriberMethod();
          return "Exception thrown by subscriber method "
              + method.getName()
              + '('
              + method.getParameterTypes()[0].getName()
              + ')'
              + " on subscriber "
              + context.getSubscriber()
              + " when dispatching event: "
              + context.getEvent();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        Object[] params = new Object[parameterTypes.length];
        for (int i = 0; i < parameterTypes.length; i++) {
          params[i] = PARAMETER_VALUES.get(parameterTypes[i]);
        }
        return params;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        Object[] params = new Object[parameterTypes.length];
        for (int i = 0; i < parameterTypes.length; i++) {
          params[i] = PARAMETER_VALUES.get(parameterTypes[i]);
        }
        return params;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top