granularity level: instruction

		.class public Lcom/google/android/gms/common/util/Strings;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-basement@@18.1.0"


.field private static final zza:Ljava/util/regex/Pattern;


.method static constructor <clinit>()V
	.locals 1

	const-string v0, "\\$\\{(.*?)\\}"
	invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
	move-result-object v0
	sput-object v0, Lcom/google/android/gms/common/util/Strings;->zza:Ljava/util/regex/Pattern;
	return-void
.end method

.method private constructor <init>()V
	.locals 0

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public static emptyToNull(Ljava/lang/String;)Ljava/lang/String;
	.locals 1

	invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v0
	if-eqz v0, :cond_0
	const/4 p0, 0x0
	:cond_0
	return-object p0
.end method

.method public static isEmptyOrWhitespace(Ljava/lang/String;)Z
	.locals 0
	.annotation runtime Lorg/checkerframework/checker/nullness/qual/EnsuresNonNullIf;
	expression = {
	"#1"
	}
	result = false
	.end annotation

	if-eqz p0, :cond_1
	invoke-virtual {p0}, Ljava/lang/String;->trim()Ljava/lang/String;
	move-result-object p0
	invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z
	move-result p0
	if-eqz p0, :cond_0
	goto :goto_0
	:cond_0
	const/4 p0, 0x0
	return p0
	:cond_1
	:goto_0
	const/4 p0, 0x1
	return p0
.end method