- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for RestrictedApiChecker (0.11 seconds)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
assertThrows( Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations()); assertThat(e).hasCauseThat().isInstanceOf(AssertionError.class); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testSubtypeOfInnerClass_nonStaticAnonymousClass() { TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
assertThrows( Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations()); assertThat(e).hasCauseThat().isInstanceOf(AssertionError.class); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testSubtypeOfInnerClass_nonStaticAnonymousClass() { TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
android/guava/src/com/google/common/annotations/VisibleForTesting.java
* that they will. If the method breaks the encapsulation of its class, then its internal * representation will be hard to change. Instead, use <a * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces * fine-grained visibility policies. * * @author Johannes Henkel */ @GwtCompatible public @interface VisibleForTesting {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Click Count (0) -
guava/src/com/google/common/annotations/VisibleForTesting.java
* that they will. If the method breaks the encapsulation of its class, then its internal * representation will be hard to change. Instead, use <a * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces * fine-grained visibility policies. * * @author Johannes Henkel */ @GwtCompatible public @interface VisibleForTesting {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testResolveInnerClass() { assertEquals(String.class, new Owner<Integer>().new Inner<String>() {}.getTypeArgument()); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testResolveOwnerClass() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testResolveInnerClass() { assertEquals(String.class, new Owner<Integer>().new Inner<String>() {}.getTypeArgument()); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testResolveOwnerClass() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0)