- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RestrictedApiChecker (0.09 sec)
-
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>>() {};
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
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>>() {};
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (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 {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jan 30 22:25:16 UTC 2023 - 1.3K bytes - Viewed (0)