Checker.smali
.class public Lcom/litesuits/orm/db/assit/Checker;
.super Ljava/lang/Object;
.source "Checker.java"
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 12
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static isEmpty(Ljava/lang/CharSequence;)Z
.registers 2
.param p0, "str" # Ljava/lang/CharSequence;
.line 15
invoke-static {p0}, Lcom/litesuits/orm/db/assit/Checker;->isNull(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_f
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_d
goto :goto_f
:cond_d
const/4 v0, 0x0
goto :goto_10
:cond_f
:goto_f
const/4 v0, 0x1
:goto_10
return v0
.end method
.method public static isEmpty(Ljava/util/Collection;)Z
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)Z"
}
.end annotation
.line 23
.local p0, "l":Ljava/util/Collection;, "Ljava/util/Collection<*>;"
invoke-static {p0}, Lcom/litesuits/orm/db/assit/Checker;->isNull(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_f
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-eqz v0, :cond_d
goto :goto_f
:cond_d
const/4 v0, 0x0
goto :goto_10
:cond_f
:goto_f
const/4 v0, 0x1
:goto_10
return v0
.end method
.method public static isEmpty(Ljava/util/Map;)Z
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"**>;)Z"
}
.end annotation
.line 27
.local p0, "m":Ljava/util/Map;, "Ljava/util/Map<**>;"
invoke-static {p0}, Lcom/litesuits/orm/db/assit/Checker;->isNull(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_f
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
move-result v0
if-eqz v0, :cond_d
goto :goto_f
:cond_d
const/4 v0, 0x0
goto :goto_10
:cond_f
:goto_f
const/4 v0, 0x1
:goto_10
return v0
.end method
.method public static isEmpty([Ljava/lang/Object;)Z
.registers 2
.param p0, "os" # [Ljava/lang/Object;
.line 19
invoke-static {p0}, Lcom/litesuits/orm/db/assit/Checker;->isNull(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_c
array-length v0, p0
if-nez v0, :cond_a
goto :goto_c
:cond_a
const/4 v0, 0x0
goto :goto_d
:cond_c
:goto_c
const/4 v0, 0x1
:goto_d
return v0
.end method
.method public static isNull(Ljava/lang/Object;)Z
.registers 2
.param p0, "o" # Ljava/lang/Object;
.line 31
if-nez p0, :cond_4
const/4 v0, 0x1
goto :goto_5
:cond_4
const/4 v0, 0x0
:goto_5
return v0
.end method