You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.3 KiB
66 lines
1.3 KiB
2 years ago
|
.class public final Lcom/google/gson/internal/$Gson$Preconditions;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "$Gson$Preconditions.java"
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method private constructor <init>()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 33
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
.line 34
|
||
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public static checkArgument(Z)V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 45
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
.line 46
|
||
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
.line 48
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">(TT;)TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 38
|
||
|
if-nez p0, :cond_0
|
||
|
|
||
|
.line 39
|
||
|
new-instance v0, Ljava/lang/NullPointerException;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/lang/NullPointerException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
.line 41
|
||
|
:cond_0
|
||
|
return-object p0
|
||
|
.end method
|