Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getConstructorDesc (0.14 sec)

  1. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

        @SuppressWarnings("rawtypes")
        @Test
        public void testDefaultConstructor() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final ConstructorDesc ctor = beanDesc.getConstructorDesc();
            assertThat(ctor, is(notNullValue()));
            assertThat(ctor.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(ctor.getConstructor(), is((Constructor) MyBean.class.getConstructor()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            final ConstructorDesc constructorDesc = getSuitableConstructorDesc(args);
            return constructorDesc.newInstance(args);
        }
    
        @Override
        public ConstructorDesc getConstructorDesc(final Class<?>... paramTypes) {
            for (final ConstructorDesc constructorDesc : constructorDescs) {
                if (Arrays.equals(paramTypes, constructorDesc.getParameterTypes())) {
    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