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.
86 lines
1.9 KiB
86 lines
1.9 KiB
.class public abstract Lokhttp3/internal/NamedRunnable; |
|
.super Ljava/lang/Object; |
|
.source "NamedRunnable.java" |
|
|
|
# interfaces |
|
.implements Ljava/lang/Runnable; |
|
|
|
|
|
# instance fields |
|
.field protected final name:Ljava/lang/String; |
|
|
|
|
|
# direct methods |
|
.method public varargs constructor <init>(Ljava/lang/String;[Ljava/lang/Object;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 24 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 25 |
|
invoke-static {p1, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
iput-object v0, p0, Lokhttp3/internal/NamedRunnable;->name:Ljava/lang/String; |
|
|
|
.line 26 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method protected abstract execute()V |
|
.end method |
|
|
|
.method public final run()V |
|
.locals 3 |
|
|
|
.prologue |
|
.line 29 |
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
.line 30 |
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lokhttp3/internal/NamedRunnable;->name:Ljava/lang/String; |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V |
|
|
|
.line 32 |
|
:try_start_0 |
|
invoke-virtual {p0}, Lokhttp3/internal/NamedRunnable;->execute()V |
|
:try_end_0 |
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0 |
|
|
|
.line 34 |
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V |
|
|
|
.line 36 |
|
return-void |
|
|
|
.line 34 |
|
:catchall_0 |
|
move-exception v1 |
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V |
|
|
|
throw v1 |
|
.end method
|
|
|