- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for kotlinc (0.2 sec)
-
android/guava/src/com/google/common/eventbus/ParametricNullness.java
* </ul> * * <p>Consumers of this annotation include: * * <ul> * <li>Kotlin, for which it makes the type-variable usage (a) a Kotlin platform type when the type * argument is non-nullable and (b) nullable when the type argument is nullable. We use this * to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin * under our current constraints. * <li>NullAway, which will <a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ParametricNullness.java
* </ul> * * <p>Consumers of this annotation include: * * <ul> * <li>Kotlin, for which it makes the type-variable usage (a) a Kotlin platform type when the type * argument is non-nullable and (b) nullable when the type argument is nullable. We use this * to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin * under our current constraints. * <li>NullAway, which will <a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 10 21:27:51 GMT 2022 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
assertEquals(String[].class, array.getClass()); assertThat(array).hasLength(2); assertNull(array[0]); } @J2ktIncompatible // Array<String>::class literal not available in Kotlin KMP @GwtIncompatible // ObjectArrays.newArray(Class, int) public void testNewArray_fromClass_OfArray() { String[][] array = ObjectArrays.newArray(String[].class, 1); assertEquals(String[][].class, array.getClass());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible @Retention(RUNTIME) @Target(TYPE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible @Retention(RUNTIME) @Target(TYPE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible @Retention(RUNTIME) @Target(TYPE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible @Retention(RUNTIME) @Target(TYPE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible @Retention(RUNTIME) @Target(TYPE)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
Iterable<String> letters = Splitter.on(literalDotPattern()).omitEmptyStrings().split(doubled); assertThat(letters).containsExactly("a", "b", "c").inOrder(); } @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android @GwtIncompatible // java.util.regex.Pattern @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 29.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* platforms we target. * * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers * the parameter and return type both to be platform types. As a result, Kotlin permits calls
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 44.1K bytes - Viewed (0)