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.
155 lines
3.9 KiB
155 lines
3.9 KiB
2 years ago
|
.class final enum Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
.super Ljava/lang/Enum;
|
||
|
.source "Functions.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/google/common/base/Function;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/base/Functions;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x401a
|
||
|
name = "ToStringFunction"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/lang/Enum",
|
||
|
"<",
|
||
|
"Lcom/google/common/base/Functions$ToStringFunction;",
|
||
|
">;",
|
||
|
"Lcom/google/common/base/Function",
|
||
|
"<",
|
||
|
"Ljava/lang/Object;",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final synthetic $VALUES:[Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
.field public static final enum INSTANCE:Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
.line 61
|
||
|
new-instance v0, Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
const-string v1, "INSTANCE"
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Lcom/google/common/base/Functions$ToStringFunction;-><init>(Ljava/lang/String;I)V
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Functions$ToStringFunction;->INSTANCE:Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
.line 60
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
new-array v0, v0, [Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
sget-object v1, Lcom/google/common/base/Functions$ToStringFunction;->INSTANCE:Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
aput-object v1, v0, v2
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Functions$ToStringFunction;->$VALUES:[Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private constructor <init>(Ljava/lang/String;I)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 60
|
||
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static valueOf(Ljava/lang/String;)Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 60
|
||
|
const-class v0, Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static values()[Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 60
|
||
|
sget-object v0, Lcom/google/common/base/Functions$ToStringFunction;->$VALUES:[Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
invoke-virtual {v0}, [Lcom/google/common/base/Functions$ToStringFunction;->clone()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, [Lcom/google/common/base/Functions$ToStringFunction;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 60
|
||
|
invoke-virtual {p0, p1}, Lcom/google/common/base/Functions$ToStringFunction;->apply(Ljava/lang/Object;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public apply(Ljava/lang/Object;)Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 65
|
||
|
invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
.line 66
|
||
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 70
|
||
|
const-string v0, "toString"
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|