Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for getConstructor (0.22 sec)

  1. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

            new AtomicReference<Object>(sepFrqC.getDeclaredConstructor().newInstance());
        Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName());
        Constructor<?> sepFwrCons = sepFwrC.getConstructor(Object.class, sepFrqC);
        // The object that we will wrap in FinalizableWeakReference is a Stopwatch.
        Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/internal/Finalizer.java

                  + "inherit thread local values.");
          return null;
        }
      }
    
      @CheckForNull
      private static Constructor<Thread> getBigThreadConstructor() {
        try {
          return Thread.class.getConstructor(
              ThreadGroup.class, Runnable.class, String.class, long.class, boolean.class);
        } catch (Throwable t) {
          // Probably pre Java 9. We'll fall back to Thread.inheritableThreadLocals.
          return null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

            new AtomicReference<Object>(sepFrqC.getDeclaredConstructor().newInstance());
        Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName());
        Constructor<?> sepFwrCons = sepFwrC.getConstructor(Object.class, sepFrqC);
        // The object that we will wrap in FinalizableWeakReference is a Stopwatch.
        Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(delegate.isVarArgs());
      }
    
      public void testGetOwnerType_constructor() throws Exception {
        Invokable<String, String> invokable = Invokable.from(String.class.getConstructor());
        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      public void testGetOwnerType_method() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(delegate.isVarArgs());
      }
    
      public void testGetOwnerType_constructor() throws Exception {
        Invokable<String, String> invokable = Invokable.from(String.class.getConstructor());
        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      public void testGetOwnerType_method() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class, String, Class[]) throws ReflectorException; private reflect.Method _getMethod(Class, String,...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class, String, Class[]) throws ReflectorException; private reflect.Method _getMethod(Class, String,...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  10. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public Object getField(Object, String) throws ReflectorException; public Object getField(Object, String, boolean) throws ReflectorException; public Object invokeStatic(Class, String, Object[]) throws ReflectorException; public reflect.Constructor getConstructor(Class, Class[]) throws ReflectorException; public Object getObjectProperty(Object, String) throws ReflectorException; public reflect.Method getMethod(Class, String, Class[]) throws ReflectorException; private reflect.Method _getMethod(Class, String,...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
Back to top