Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getTypeVariables (0.12 sec)

  1. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testFieldType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Field field = Hoge.class.getField("foo");
            final ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(field, 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)
  2. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

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

     * <p>
     * このクラスでは{@link ParameterizedClassDesc}のインスタンスをキャッシュしません。 {@link BeanDesc}経由で
     * {@link ParameterizedClassDesc}を取得するようにしてください。
     * </p>
     *
     * @author koichik
     * @see BeanDesc#getTypeVariables()
     * @see PropertyDesc#getParameterizedClassDesc()
     * @see FieldDesc#getParameterizedClassDesc()
     * @see ConstructorDesc#getParameterizedClassDescs()
     * @see MethodDesc#getParameterizedClassDesc()
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            parameterTypes = constructor.getParameterTypes();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            final Map<TypeVariable<?>, Type> typeVariables = beanDesc.getTypeVariables();
            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterizedClassDescs[i] = ParameterizedClassDescFactory.createParameterizedClassDesc(constructor, i, typeVariables);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                    break;
                }
            }
        }
    
        private void setUpParameterizedClassDesc() {
            final Map<TypeVariable<?>, Type> typeVariables = ((BeanDescImpl) beanDesc).getTypeVariables();
            if (field != null) {
                parameterizedClassDesc = ParameterizedClassDescFactory.createParameterizedClassDesc(field, typeVariables);
            } else if (readMethod != null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> Class<T> getBeanClass() {
            return (Class<T>) beanClass;
        }
    
        @Override
        public Map<TypeVariable<?>, Type> getTypeVariables() {
            return typeVariables;
        }
    
        @Override
        public boolean hasPropertyDesc(final String propertyName) {
            assertArgumentNotEmpty("propertyName", propertyName);
    
    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