IntentCacheHelper.smali

.class public Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;
.super Ljava/lang/Object;
.source "IntentCacheHelper.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# static fields
.field private static instance:Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper",
            "<*>;"
        }
    .end annotation
.end field


# instance fields
.field private t:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TT;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 8
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static declared-synchronized getInstance(Ljava/lang/Class;)Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/Class",
            "<TT;>;)",
            "Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper",
            "<TT;>;"
        }
    .end annotation

    .prologue
    .line 13
    const-class v1, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;

    monitor-enter v1

    :try_start_3
    sget-object v0, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;->instance:Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;

    if-nez v0, :cond_e

    .line 14
    new-instance v0, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;

    invoke-direct {v0}, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;-><init>()V

    sput-object v0, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;->instance:Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;

    .line 16
    :cond_e
    sget-object v0, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;->instance:Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;
    :try_end_10
    .catchall {:try_start_3 .. :try_end_10} :catchall_12

    monitor-exit v1

    return-object v0

    .line 13
    :catchall_12
    move-exception v0

    monitor-exit v1

    throw v0
.end method


# virtual methods
.method public getObject()Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .prologue
    .line 24
    iget-object v0, p0, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;->t:Ljava/lang/Object;

    return-object v0
.end method

.method public recycle()V
    .registers 2

    .prologue
    .line 28
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;->t:Ljava/lang/Object;

    .line 29
    return-void
.end method

.method public setObject(Ljava/lang/Object;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .prologue
    .line 20
    iput-object p1, p0, Lcom/cm/plugincluster/loststars/filemanager/util/IntentCacheHelper;->t:Ljava/lang/Object;

    .line 21
    return-void
.end method