Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for paramTypes (0.14 sec)

  1. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

            return new String(buf);
        }
    
        private static String getSignature(final Class<?>... paramTypes) {
            if (paramTypes == null || paramTypes.length == 0) {
                return "";
            }
            final StringBuilder buf = new StringBuilder(100);
            for (final Class<?> type : paramTypes) {
                if (type != null) {
                    buf.append(type.getName());
                } else {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            }
            if (paramTypes.length != args.length) {
                return false;
            }
            for (int i = 0; i < args.length; ++i) {
                if (args[i] == null) {
                    continue;
                }
                if (ClassUtil.isAssignableFrom(paramTypes[i], args[i].getClass())) {
                    continue;
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * @param paramTypes the classes of method parameters
         */
        private static Method getPublicMethod(Class<?> clazz, String name, Class<?>... paramTypes) {
            // if this class is public, then try to get it
            if ((clazz.getModifiers() & Modifier.PUBLIC) != 0) {
                try {
                    return clazz.getMethod(name, paramTypes);
                } catch (NoSuchMethodException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. fastapi/params.py

    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

        cookie_params = _get_flat_fields_from_params(flat_dependant.cookie_params)
        parameter_groups = [
            (ParamTypes.path, path_params),
            (ParamTypes.query, query_params),
            (ParamTypes.header, header_params),
            (ParamTypes.cookie, cookie_params),
        ]
        for param_type, param_group in parameter_groups:
            for param in param_group:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        Class<?>[] paramTypes = constructor.getParameterTypes();
        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
          Class<?> paramType = paramTypes[i];
          if (paramType.equals(String.class)) {
            params[i] = cause.toString();
          } else if (paramType.equals(Throwable.class)) {
            params[i] = cause;
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        }
    
        def "the @since annotation on implicit enum method '#implicitMethod#paramTypes' is not required"() {
            given:
            def rule = withContext(new SinceAnnotationMissingRule([:]))
            def jApiMethod = Stub(JApiMethod)
            jApiMethod.name >> implicitMethod
            jApiMethod.jApiClass >> jApiClassifier
            jApiMethod.parameters >> paramTypes.collect { paramStub(it) }
    
            when:
            sourceFile.text = """
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

        if field_info_in == params.ParamTypes.path:
            dependant.path_params.append(field)
        elif field_info_in == params.ParamTypes.query:
            dependant.query_params.append(field)
        elif field_info_in == params.ParamTypes.header:
            dependant.header_params.append(field)
        else:
            assert (
                field_info_in == params.ParamTypes.cookie
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        FreshValueGenerator paramValues = new FreshValueGenerator();
        List<@Nullable Object> passedArgs = Lists.newArrayList();
        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
        }
        return passedArgs.toArray();
      }
    
      /** Tests a single interaction against a method. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                    val sameParamCount = ktCtor.valueParameters.size == ctorParamTypes.size
                    val sameParamTypes = sameParamCount && ctorParamTypes.mapIndexed { idx, paramType -> paramType.endsWith(ktCtor.valueParameters[idx].typeReference!!.text) }.all { it }
                    sameName && sameParamCount && sameParamTypes
                }
                ?.isDocumentedAsSince(version) == true
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top