Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getDeclaredConstructors (0.16 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Constructor<?> constructor = InnerWithDefaultConstructor.class.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testNestedInnerClassDefaultConstructor() {
        Constructor<?> constructor =
            InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Constructor<?> constructor = InnerWithDefaultConstructor.class.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testNestedInnerClassDefaultConstructor() {
        Constructor<?> constructor =
            InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * minimalVisibility}.
       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * minimalVisibility}.
       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            factories.add(factory);
          }
        }
        if (!Modifier.isAbstract(type.getRawType().getModifiers())) {
          for (Constructor<?> constructor : type.getRawType().getDeclaredConstructors()) {
            Invokable<T, T> invokable = type.constructor(constructor);
            if (!invokable.isPrivate() && !invokable.isSynthetic()) {
              factories.add(invokable);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top