Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for AnnotatedType (0.04 sec)

  1. guava/src/com/google/common/reflect/Types.java

       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
       * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. As of 2025, Android
       * has not added {@link AnnotatedType}. That means that we cannot implement that interface in
       * source code in a way that will compile on both Java and Android. If we include the {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
       * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. As of 2025, Android
       * has not added {@link AnnotatedType}. That means that we cannot implement that interface in
       * source code in a way that will compile on both Java and Android. If we include the {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

             * Therefore, we can always create our own TypeVariable. (One downside of our TypeVariable
             * in some situations is that it does not support the AnnotatedType API. However, those
             * situations don't arise under Android because Android does not provide the AnnotatedType
             * API at all.)
             *
             * 2. Under the JDK, the built-in TypeVariable implementation does not interoperate with
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import com.google.common.reflect.TypeToken;
    import com.google.common.util.concurrent.AbstractFuture;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    import java.lang.reflect.AnnotatedType;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Member;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

             * Therefore, we can always create our own TypeVariable. (One downside of our TypeVariable
             * in some situations is that it does not support the AnnotatedType API. However, those
             * situations don't arise under Android because Android does not provide the AnnotatedType
             * API at all.)
             *
             * 2. Under the JDK, the built-in TypeVariable implementation does not interoperate with
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Invokable.java

        }
      }
    
      private static final boolean ANNOTATED_TYPE_EXISTS = initAnnotatedTypeExists();
    
      private static boolean initAnnotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
        };
    
        abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    
      private static final NullnessAnnotationReader NULLNESS_ANNOTATION_READER =
          annotatedTypeExists()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top