Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getParameterTypes (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * the concatenation of the name and the
         * types of the method parameters.
         */
        private String makeMethodKey(Method method) {
            Class<?>[] parameterTypes = method.getParameterTypes();
    
            StringBuilder methodKey = new StringBuilder(method.getName());
    
            for (Class<?> parameterType : parameterTypes) {
                // If the argument type is primitive then we want
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                        String baseName = m.getName().substring(5 /* merge */);
                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
                            Type returnType = m.getParameterTypes()[0]
                                    .getMethod("get" + entity)
                                    .getGenericReturnType();
                            if (returnType instanceof ParameterizedType) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

            for (Method app : applicables) {
                Class<?>[] appArgs = app.getParameterTypes();
                boolean lessSpecific = false;
    
                for (Iterator<Method> maximal = maximals.iterator(); !lessSpecific && maximal.hasNext(); ) {
                    Method max = maximal.next();
    
                    switch (moreSpecific(appArgs, max.getParameterTypes())) {
                        case MORE_SPECIFIC:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
                  method.getParameterTypes()[i],
                  TypeToken.of(method.getGenericParameterTypes()[i]).getRawType());
            }
          }
        }
      }
    
      public void testRawTypes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
                  method.getParameterTypes()[i],
                  TypeToken.of(method.getGenericParameterTypes()[i]).getRawType());
            }
          }
        }
      }
    
      public void testRawTypes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top