.class Lcom/google/common/cache/CacheBuilderSpec$WriteDurationParser; .super Lcom/google/common/cache/CacheBuilderSpec$DurationParser; .source "CacheBuilderSpec.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/cache/CacheBuilderSpec; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "WriteDurationParser" .end annotation # direct methods .method constructor ()V .locals 0 .prologue .line 454 invoke-direct {p0}, Lcom/google/common/cache/CacheBuilderSpec$DurationParser;->()V return-void .end method # virtual methods .method protected parseDuration(Lcom/google/common/cache/CacheBuilderSpec;JLjava/util/concurrent/TimeUnit;)V .locals 2 .prologue .line 456 iget-object v0, p1, Lcom/google/common/cache/CacheBuilderSpec;->writeExpirationTimeUnit:Ljava/util/concurrent/TimeUnit; if-nez v0, :cond_0 const/4 v0, 0x1 :goto_0 const-string v1, "expireAfterWrite already set" invoke-static {v0, v1}, Lcom/google/common/base/Preconditions;->checkArgument(ZLjava/lang/Object;)V .line 457 iput-wide p2, p1, Lcom/google/common/cache/CacheBuilderSpec;->writeExpirationDuration:J .line 458 iput-object p4, p1, Lcom/google/common/cache/CacheBuilderSpec;->writeExpirationTimeUnit:Ljava/util/concurrent/TimeUnit; .line 459 return-void .line 456 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method