- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 45 for J2CL (0.02 seconds)
-
guava/src/com/google/common/annotations/GwtCompatible.java
import java.lang.annotation.Target; /** * The presence of this annotation on a type indicates that the type may be used with <a * href="https://www.gwtproject.org/">GWT</a> or <a href="https://github.com/google/j2cl">J2CL</a>. * * <p>Note that a {@code GwtCompatible} type may have some {@link GwtIncompatible} methods. * * @author Charles Fry * @author Hayward Chan */ @Retention(RetentionPolicy.CLASS)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:15:36 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
* probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/annotations/GwtCompatible.java
import java.lang.annotation.Target; /** * The presence of this annotation on a type indicates that the type may be used with <a * href="https://www.gwtproject.org/">GWT</a> or <a href="https://github.com/google/j2cl">J2CL</a>. * * <p>Note that a {@code GwtCompatible} type may have some {@link GwtIncompatible} methods. * * @author Charles Fry * @author Hayward Chan */ @Retention(RetentionPolicy.CLASS)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:15:36 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
} private static class StringWrapper { private final String value; StringWrapper(String value) { this.value = value; } } @GwtIncompatible // J2CL generics problem public void testAndThen() { Converter<StringWrapper, String> first = new Converter<StringWrapper, String>() { @Override protected String doForward(StringWrapper object) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 8.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
@J2ktIncompatible @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL public final String getTestMethodName() { return super.getName(); } @J2ktIncompatible @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL @Override public String getName() { return super.getName() + '[' + suiteName + ']'; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
@J2ktIncompatible @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL public final String getTestMethodName() { return super.getName(); } @J2ktIncompatible @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL @Override public String getName() { return super.getName() + '[' + suiteName + ']'; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Runnables.java
* * @since 16.0 */ @GwtCompatible public final class Runnables { /* * If we inline this, it's not longer a singleton under Android (at least under the Marshmallow * version that we're testing under) or J2CL. * * That's not necessarily a real-world problem, but it does break our tests. */ @SuppressWarnings({"InlineLambdaConstant", "UnnecessaryLambda"}) private static final Runnable EMPTY_RUNNABLE = () -> {};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Aug 05 15:30:14 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return result; } /* * If I understand correctly: * * This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but * *J2CL* doesn't look at it.) * * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 5.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java
.then(onFulfilled, onRejected); } } /** * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows * us to implement it using a default implementation in J2cl ListenableFuture. */ @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "IThenable") interface IThenable<T extends @Nullable Object> { <V extends @Nullable Object> IThenable<V> then(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0)