2022-06-10 21:38:30 +09:00

61 lines
1.4 KiB
Smali

.class final Lcom/google/common/util/concurrent/NullnessCasts;
.super Ljava/lang/Object;
.source "NullnessCasts.java"
# annotations
.annotation build Lcom/google/common/annotations/GwtCompatible;
.end annotation
.annotation runtime Lcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault;
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static uncheckedCastNullableTToT(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.param p0 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/CheckForNull;
.end annotation
.end param
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)TT;"
}
.end annotation
return-object p0
.end method
.method public static uncheckedNull()Ljava/lang/Object;
.locals 1
.annotation runtime Lcom/google/common/util/concurrent/ParametricNullness;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()TT;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method