Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ParamTypes (0.38 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 {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 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;
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

        def method(Map<String, ?> args, String name, ClassMetaData classMetaData) {
            MethodMetaData method = Mock()
            List<String> paramTypes = args.paramTypes ?: []
            _ * method.name >> name
            _ * method.overrideSignature >> "$name(${paramTypes.join(', ')})"
            _ * method.parameters >> paramTypes.collect {
                def param = new ParameterMetaData("p");
                param.type = new TypeMetaData(it)
                return param
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/BeanDesc.java

         */
        <T> T newInstance(Object... args);
    
        /**
         * 引数の型に応じた{@link ConstructorDesc}を返します。
         *
         * @param paramTypes
         *            コンストラクタに渡す引数型の並び
         * @return 引数の型に応じた{@link ConstructorDesc}
         */
        ConstructorDesc getConstructorDesc(Class<?>... paramTypes);
    
        /**
         * 引数に適合する{@link ConstructorDesc}を返します。
         *
         * @param args
         *            コンストラクタに渡す引数の並び
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

        def method(Map<String, ?> args, String name, ClassMetaData classMetaData) {
            MethodMetaData method = Mock()
            List<String> paramTypes = args.paramTypes ?: []
            _ * method.name >> name
            _ * method.overrideSignature >> "$name(${paramTypes.join(', ')})"
            _ * method.parameters >> paramTypes.collect {
                def param = new ParameterMetaData("p");
                param.type = new TypeMetaData(it)
                return param
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      @CheckForNull
      private static <X> X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        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();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. 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,
            *,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  8. 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 = """
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  9. 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
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * methodDoc.incubating >> (args.incubating ?: false)
            _ * metaData.returnType >> new TypeMetaData(args.returnType ?: 'ReturnType')
            def paramTypes = args.paramTypes ?: []
            _ * metaData.parameters >> paramTypes.collect {
                def param = new ParameterMetaData("p");
                param.type = new TypeMetaData(it)
                return param
            }
            return methodDoc
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
Back to top