123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- .class public abstract Lokhttp3/internal/NamedRunnable;
- .super Ljava/lang/Object;
- .source ""
- # 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 0
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- invoke-static {p1, p2}, Lokhttp3/internal/Util;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
- move-result-object p1
- iput-object p1, p0, Lokhttp3/internal/NamedRunnable;->name:Ljava/lang/String;
- return-void
- .end method
- # virtual methods
- .method protected abstract execute()V
- .end method
- .method public final run()V
- .locals 3
- 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
- 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
- :try_start_0
- invoke-virtual {p0}, Lokhttp3/internal/NamedRunnable;->execute()V
- :try_end_0
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
- 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
- return-void
- :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
|