恐 怖 老 奶 奶1破 解 版 中 文 版 无 敌 版 v4.15.00版本的 MD5 值为:2c4218ea002b12a6cce81f33a9f0144d

以下内容为反编译后的 a.java 源代码,内容仅作参考


package com.anythink.expressad.foundation.d;

import android.text.TextUtils;
import java.io.Serializable;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public final class a implements com.anythink.expressad.e.b, Serializable {
    public static final String f5870a = "https://img.toponad.com/sdk/app-permissions.html?key=";
    public static String f5871b = "app_name";
    public static String f5872c = "perm_desc";
    public static String f5873d = "ori_perm_desc";
    public static String f5874e = "ori_perm_all";
    public static String f5875f = "pri_url";
    public static String f5876g = "upd_time";
    public static String f5877h = "app_ver";
    public static String f5878i = "dev_name";
    public String j;
    public String k;
    public ArrayList<String> l = new ArrayList<>(3);
    public ArrayList<String> m = new ArrayList<>(3);
    public ArrayList<String> n = new ArrayList<>(3);
    public String o;
    public String p;
    public String q;
    public String r;
    public String s;

    private void b(String str) {
        this.j = str;
    }

    private void c(String str) {
        this.o = str;
    }

    private void d(String str) {
        this.k = str;
    }

    private void e(String str) {
        this.p = str;
    }

    private void f(String str) {
        this.q = str;
    }

    private void g(String str) {
        this.r = str;
    }

    private String h() {
        return this.j;
    }

    private ArrayList<String> i() {
        return this.l;
    }

    private ArrayList<String> j() {
        return this.m;
    }

    private ArrayList<String> k() {
        return this.n;
    }

    public final String a() {
        return this.o;
    }

    public final String toString() {
        return "ApkDisplayInfo{appName='" + this.k + "', permDescJArray=" + this.l + ", permDescOriJArray=" + this.m + ", permDescAll=" + this.n + ", priUrl='" + this.p + "', updateTime='" + this.q + "', appVersion='" + this.r + "', devName='" + this.s + "'}";
    }

    private void a(ArrayList<String> arrayList) {
        this.l = arrayList;
    }

    private void c(ArrayList<String> arrayList) {
        this.n = arrayList;
    }

    private void h(String str) {
        this.s = str;
    }

    public final String b() {
        return this.k;
    }

    public final String d() {
        return this.q;
    }

    public final String e() {
        return this.r;
    }

    public final String f() {
        return this.s;
    }

    public final JSONObject g() {
        try {
            JSONObject jSONObject = new JSONObject(this.j);
            if (jSONObject.length() > 0) {
                return jSONObject;
            }
            return null;
        } catch (JSONException e2) {
            e2.printStackTrace();
            return null;
        }
    }

    public static a a(a aVar) {
        return aVar == null ? new a() : aVar;
    }

    private void b(ArrayList<String> arrayList) {
        this.m = arrayList;
    }

    public static JSONArray d(ArrayList<String> arrayList) {
        if (arrayList == null || arrayList.size() <= 0) {
            return null;
        }
        JSONArray jSONArray = new JSONArray();
        for (int i2 = 0; i2 < arrayList.size(); i2++) {
            jSONArray.put(arrayList.get(i2));
        }
        return jSONArray;
    }

    public final String c() {
        return this.p;
    }

    public static a a(String str) {
        try {
            if (TextUtils.isEmpty(str)) {
                return null;
            }
            return a(new JSONObject(str));
        } catch (JSONException e2) {
            e2.printStackTrace();
            return null;
        }
    }

    public static ArrayList<String> a(JSONArray jSONArray) {
        if (jSONArray == null || jSONArray.length() <= 0) {
            return null;
        }
        ArrayList<String> arrayList = new ArrayList<>();
        for (int i2 = 0; i2 < jSONArray.length(); i2++) {
            arrayList.add(jSONArray.optString(i2));
        }
        return arrayList;
    }

    public static a a(JSONObject jSONObject) {
        a aVar = null;
        if (jSONObject.has(f5871b)) {
            aVar = a((a) null);
            aVar.k = jSONObject.optString(f5871b);
        }
        if (jSONObject.has(f5872c)) {
            aVar = a(aVar);
            JSONArray optJSONArray = jSONObject.optJSONArray(f5872c);
            if (optJSONArray != null) {
                aVar.l = a(optJSONArray);
                ArrayList<String> arrayList = aVar.n;
                String str = f5870a;
                for (int i2 = 0; i2 < optJSONArray.length(); i2++) {
                    try {
                        if (optJSONArray.get(i2) instanceof String) {
                            str = i2 == 0 ? str + optJSONArray.optString(i2) : str + "," + optJSONArray.optString(i2);
                        }
                    } catch (JSONException e2) {
                        e2.printStackTrace();
                    }
                }
                aVar.o = str;
                aVar.n = arrayList;
            }
        }
        if (jSONObject.has(f5873d)) {
            aVar = a(aVar);
            JSONArray optJSONArray2 = jSONObject.optJSONArray(f5873d);
            if (optJSONArray2 != null) {
                aVar.m = a(optJSONArray2);
                ArrayList<String> arrayList2 = aVar.n;
                for (int i3 = 0; i3 < optJSONArray2.length(); i3++) {
                    try {
                        Object obj = optJSONArray2.get(i3);
                        if (obj instanceof String) {
                            arrayList2.add((String) obj);
                        }
                    } catch (JSONException e3) {
                        e3.printStackTrace();
                    }
                }
                aVar.n = arrayList2;
            }
        }
        if (jSONObject.has(f5875f)) {
            aVar = a(aVar);
            aVar.p = jSONObject.optString(f5875f);
        }
        if (jSONObject.has(f5876g)) {
            aVar = a(aVar);
            aVar.q = jSONObject.optString(f5876g);
        }
        if (jSONObject.has(f5877h)) {
            aVar = a(aVar);
            aVar.r = jSONObject.optString(f5877h);
        }
        if (jSONObject.has(f5878i)) {
            aVar = a(aVar);
            aVar.s = jSONObject.optString(f5878i);
        }
        if (aVar != null) {
            aVar.j = jSONObject.toString();
        }
        return aVar;
    }
}