Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for createParameterizedClassDesc (0.13 sec)

  1. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

         * @return フィールドの型を表現する{@link ParameterizedClassDesc}
         */
        public static ParameterizedClassDesc createParameterizedClassDesc(final Field field, final Map<TypeVariable<?>, Type> map) {
            assertArgumentNotNull("field", field);
            assertArgumentNotNull("map", map);
    
            return createParameterizedClassDesc(field.getGenericType(), map);
        }
    
        /**
         * コンストラクタの引数型を表現する{@link ParameterizedClassDesc}を作成して返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            assertThat(desc.getRawClass(), is(sameClass(Set.class)));
            ParameterizedClassDesc[] args = desc.getArguments();
            assertThat(args.length, is(1));
            assertThat(args[0].getRawClass(), is(sameClass(Integer.class)));
    
            desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 1, map);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterizedClassDescs[i] = ParameterizedClassDescFactory.createParameterizedClassDesc(method, i, beanDesc.getTypeVariables());
            }
            parameterizedClassDesc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, beanDesc.getTypeVariables());
        }
    
        @Override
        public BeanDesc getBeanDesc() {
            return beanDesc;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            } else if (readMethod != null) {
                parameterizedClassDesc = ParameterizedClassDescFactory.createParameterizedClassDesc(readMethod, typeVariables);
            } else if (writeMethod != null) {
                parameterizedClassDesc = ParameterizedClassDescFactory.createParameterizedClassDesc(writeMethod, 0, typeVariables);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            final Map<TypeVariable<?>, Type> typeVariables = beanDesc.getTypeVariables();
            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterizedClassDescs[i] = ParameterizedClassDescFactory.createParameterizedClassDesc(constructor, i, typeVariables);
            }
        }
    
        @Override
        public BeanDesc getBeanDesc() {
            return beanDesc;
        }
    
        @SuppressWarnings("unchecked")
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

         *            型
         * @param map
         *            パラメータ化された型が持つ型変数をキー、型引数を値とする{@link Map}
         * @return 型を表現する{@link ParameterizedClassDesc}
         */
        protected static ParameterizedClassDesc createParameterizedClassDesc(final Type type, final Map<TypeVariable<?>, Type> map) {
            final Class<?> rowClass = getActualClass(type, map);
            if (rowClass == null) {
                return null;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top