Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

       */
      private final @Nullable Object annotatedType;
    
      Parameter(
          Invokable<?, ?> declaration,
          int position,
          TypeToken<?> type,
          Annotation[] annotations,
          @Nullable Object annotatedType) {
        this.declaration = declaration;
        this.position = position;
        this.type = type;
        this.annotations = ImmutableList.copyOf(annotations);
        this.annotatedType = annotatedType;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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