.class final Lokhttp3/internal/cache/DiskLruCache$newJournalWriter$faultHidingSink$1; .super Lkotlin/jvm/internal/Lambda; .source "DiskLruCache.kt" # interfaces .implements Lkotlin/jvm/functions/Function1; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lokhttp3/internal/cache/DiskLruCache;->newJournalWriter()Lokio/BufferedSink; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lkotlin/jvm/internal/Lambda;", "Lkotlin/jvm/functions/Function1<", "Ljava/io/IOException;", "Lkotlin/Unit;", ">;" } .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nDiskLruCache.kt\nKotlin\n*S Kotlin\n*F\n+ 1 DiskLruCache.kt\nokhttp3/internal/cache/DiskLruCache$newJournalWriter$faultHidingSink$1\n+ 2 Util.kt\nokhttp3/internal/Util\n*L\n1#1,1065:1\n601#2,4:1066\n*E\n*S KotlinDebug\n*F\n+ 1 DiskLruCache.kt\nokhttp3/internal/cache/DiskLruCache$newJournalWriter$faultHidingSink$1\n*L\n304#1,4:1066\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; bv = { 0x1, 0x0, 0x3 } d1 = { "\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n\u00a2\u0006\u0002\u0008\u0004" } d2 = { "", "", "it", "Ljava/io/IOException;", "invoke" } k = 0x3 mv = { 0x1, 0x4, 0x0 } .end annotation # instance fields .field final synthetic this$0:Lokhttp3/internal/cache/DiskLruCache; # direct methods .method constructor (Lokhttp3/internal/cache/DiskLruCache;)V .locals 0 iput-object p1, p0, Lokhttp3/internal/cache/DiskLruCache$newJournalWriter$faultHidingSink$1;->this$0:Lokhttp3/internal/cache/DiskLruCache; const/4 p1, 0x1 invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;->(I)V return-void .end method # virtual methods .method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .line 87 check-cast p1, Ljava/io/IOException; invoke-virtual {p0, p1}, Lokhttp3/internal/cache/DiskLruCache$newJournalWriter$faultHidingSink$1;->invoke(Ljava/io/IOException;)V sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; return-object p0 .end method .method public final invoke(Ljava/io/IOException;)V .locals 3 const-string v0, "it" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object p1, p0, Lokhttp3/internal/cache/DiskLruCache$newJournalWriter$faultHidingSink$1;->this$0:Lokhttp3/internal/cache/DiskLruCache; .line 1066 sget-boolean v0, Lokhttp3/internal/Util;->assertionsEnabled:Z if-eqz v0, :cond_1 invoke-static {p1}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 goto :goto_0 .line 1067 :cond_0 new-instance p0, Ljava/lang/AssertionError; new-instance v0, Ljava/lang/StringBuilder; const-string v1, "Thread " invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread; move-result-object v1 const-string v2, "Thread.currentThread()" invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v1}, Ljava/lang/Thread;->getName()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, " MUST hold lock on " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p1 invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V check-cast p0, Ljava/lang/Throwable; throw p0 :cond_1 :goto_0 iget-object p0, p0, Lokhttp3/internal/cache/DiskLruCache$newJournalWriter$faultHidingSink$1;->this$0:Lokhttp3/internal/cache/DiskLruCache; const/4 p1, 0x1 .line 305 invoke-static {p0, p1}, Lokhttp3/internal/cache/DiskLruCache;->access$setHasJournalErrors$p(Lokhttp3/internal/cache/DiskLruCache;Z)V return-void .end method