Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 2,451 for Annotation (0.06 seconds)

  1. guava/src/com/google/common/collect/NullnessCasts.java

       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
       * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/NullnessCasts.java

       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
       * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/NullnessCasts.java

       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
       * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/annotations/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Annotation types. This package is a part of the open-source <a
     * href="https://github.com/google/guava">Guava</a> library.
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 770 bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.NotTesterAnnotation;
    import com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.Require;
    import com.google.errorprone.annotations.Keep;
    import java.lang.annotation.Inherited;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.Set;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.model.Dependency;
    
    /**
     * A dependency's {@code Type} is uniquely identified by a {@code String},
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/dataclasses.md

    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
        Again, you can combine `dataclasses` with standard type annotations.
    
    8. Notice that this *path operation function* uses regular `def` instead of `async def`.
    
        As always, in FastAPI you can combine `def` and `async def` as needed.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JavaxAnnotationNullabilityChangesTest.kt

     */
    
    package gradlebuild.binarycompatibility
    
    class JavaxAnnotationNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
        override val nullableAnnotationName: String = "javax.annotation.Nullable"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 824 bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.NotTesterAnnotation;
    import com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.Require;
    import com.google.errorprone.annotations.Keep;
    import java.lang.annotation.Inherited;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/extra-models.md

    In this example we pass `Union[PlaneItem, CarItem]` as the value of the argument `response_model`.
    
    Because we are passing it as a **value to an argument** instead of putting it in a **type annotation**, we have to use `Union` even in Python 3.10.
    
    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top