- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for AnnotatedType (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ParameterTest.java
*/ @NullUnmarked public class ParameterTest extends TestCase { public void testNulls() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException runningInAndroidVm) { /* * Parameter declares a method that returns AnnotatedType, which isn't available on Android. * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw * NoClassDefFoundError.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ParameterTest.java
*/ @NullUnmarked public class ParameterTest extends TestCase { public void testNulls() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException runningInAndroidVm) { /* * Parameter declares a method that returns AnnotatedType, which isn't available on Android. * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw * NoClassDefFoundError.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
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 {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
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 withCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
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; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 18.5K bytes - Click Count (0) -
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()Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0)