BaseDaoImpl$3.smali
.class Lcom/j256/ormlite/dao/BaseDaoImpl$3;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/j256/ormlite/dao/CloseableIterable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/j256/ormlite/dao/BaseDaoImpl;->getWrappedIterable()Lcom/j256/ormlite/dao/CloseableWrappedIterable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/j256/ormlite/dao/CloseableIterable<",
"TT;>;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/j256/ormlite/dao/BaseDaoImpl;
# direct methods
.method public constructor <init>(Lcom/j256/ormlite/dao/BaseDaoImpl;)V
.registers 2
iput-object p1, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$3;->this$0:Lcom/j256/ormlite/dao/BaseDaoImpl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public closeableIterator()Lcom/j256/ormlite/dao/CloseableIterator;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/j256/ormlite/dao/CloseableIterator<",
"TT;>;"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$3;->this$0:Lcom/j256/ormlite/dao/BaseDaoImpl;
const/4 v1, -0x1
# invokes: Lcom/j256/ormlite/dao/BaseDaoImpl;->createIterator(I)Lcom/j256/ormlite/dao/CloseableIterator;
invoke-static {v0, v1}, Lcom/j256/ormlite/dao/BaseDaoImpl;->access$100(Lcom/j256/ormlite/dao/BaseDaoImpl;I)Lcom/j256/ormlite/dao/CloseableIterator;
move-result-object v0
:try_end_7
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_7} :catch_8
return-object v0
:catch_8
move-exception v0
.line 2
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "Could not build iterator for "
.line 3
invoke-static {v2}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
.line 4
iget-object v3, p0, Lcom/j256/ormlite/dao/BaseDaoImpl$3;->this$0:Lcom/j256/ormlite/dao/BaseDaoImpl;
iget-object v3, v3, Lcom/j256/ormlite/dao/BaseDaoImpl;->dataClass:Ljava/lang/Class;
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
.end method
.method public iterator()Ljava/util/Iterator;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
invoke-virtual {p0}, Lcom/j256/ormlite/dao/BaseDaoImpl$3;->closeableIterator()Lcom/j256/ormlite/dao/CloseableIterator;
move-result-object v0
return-object v0
.end method