Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for declaring (0.04 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      @SuppressWarnings("unchecked") // The declaring class is T's raw class, or one of its supertypes.
      @Override
      public final Class<? super T> getDeclaringClass() {
        return (Class<? super T>) member.getDeclaringClass();
      }
    
      /** Returns the type of {@code T}. */
      // Overridden in TypeToken#method() and TypeToken#constructor()
      @SuppressWarnings("unchecked") // The declaring class is T.
      public TypeToken<T> getOwnerType() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

        }
    
        // Helper: reflectively set private/protected field on an object
        private static void setField(Object target, Class<?> declaring, String name, Object value) {
            try {
                Field f = declaring.getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                throw new RuntimeException(e);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         * @param args the array of objects to be passed as arguments to the constructor invocation
         * @return a new object created by invoking the constructor
         * @throws InstantiationRuntimeException if the class declaring the constructor is abstract
         * @throws IllegalAccessRuntimeException if the number of actual and formal parameters differ, if primitive arguments cannot be converted, or if the class is related to enums
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            /*
             * These classes handle null properly but throw IllegalArgumentException for the default
             * Class argument that this test uses. Normally we'd fix that by declaring a
             * ReflectionFreeAssertThrowsTest with a testNulls method, but that's annoying to have to do
             * for a package-private utility class. So we skip the class entirely instead.
             */
            continue;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * its own.)
       */
    
      /** A special value to represent {@code null}. */
      static final Object NULL = new Object();
    
      /*
       * Despite declaring this field in AbstractFutureState, we still use the logger for
       * AbstractFuture: Users may have tests or log configuration that expects that to be the logger
       * used for exceptions from listeners, as it's been in the past.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * its own.)
       */
    
      /** A special value to represent {@code null}. */
      static final Object NULL = new Object();
    
      /*
       * Despite declaring this field in AbstractFutureState, we still use the logger for
       * AbstractFuture: Users may have tests or log configuration that expects that to be the logger
       * used for exceptions from listeners, as it's been in the past.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            /*
             * These classes handle null properly but throw IllegalArgumentException for the default
             * Class argument that this test uses. Normally we'd fix that by declaring a
             * ReflectionFreeAssertThrowsTest with a testNulls method, but that's annoying to have to do
             * for a package-private utility class. So we skip the class entirely instead.
             */
            continue;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Streams.java

       * Stream#findAny} (which you might as well use).
       *
       * @see Stream#findFirst()
       * @throws NullPointerException if the last element of the stream is null
       */
      /*
       * By declaring <T> instead of <T extends @Nullable Object>, we declare this method as requiring a
       * stream whose elements are non-null. However, the method goes out of its way to still handle
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     * href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.)
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        }
      }
    
      /**
       * Thrown if the test fails to generate two distinct non-null values of a constructor or factory
       * parameter in order to test {@link Object#equals} and {@link Object#hashCode} of the declaring
       * class.
       */
      @VisibleForTesting
      static final class ParameterHasNoDistinctValueException extends Exception {
        ParameterHasNoDistinctValueException(Parameter parameter) {
          super(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top