个人所得税申报 v1.30811.0版本的 MD5 值为:df1156760a8aea3b3af2002d05ed8068

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


package h.b;

import android.content.Context;
import h.b.d;
import io.realm.CompactOnLaunchCallback;
import io.realm.exceptions.RealmException;
import io.realm.exceptions.RealmFileException;
import io.realm.internal.OsRealmConfig;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Locale;
import java.util.Set;

public class g {

    public static final Object f6829p;
    public static final h.b.m.k q;
    public static Boolean r;
    public final File a;
    public final String b;

    public final String f6830c;

    public final String f6831d;

    public final byte[] f6832e;

    public final long f6833f;

    public final h f6834g;

    public final boolean f6835h;

    public final OsRealmConfig.Durability f6836i;

    public final h.b.m.k f6837j;

    public final h.b.n.b f6838k;

    public final d.a f6839l;

    public final boolean f6840m;

    public final CompactOnLaunchCallback f6841n;

    public final boolean f6842o;

    static {
        Object g2 = d.g();
        f6829p = g2;
        if (g2 != null) {
            h.b.m.k a2 = a(g2.getClass().getCanonicalName());
            if (a2.b()) {
                q = a2;
                return;
            }
            throw new ExceptionInInitializerError("RealmTransformer doesn't seem to be applied. Please update the project configuration to use the Realm Gradle plugin. See https://realm.io/news/android-installation-change/");
        }
        q = null;
    }

    public g(File file, String str, String str2, String str3, byte[] bArr, long j2, h hVar, boolean z, OsRealmConfig.Durability durability, h.b.m.k kVar, h.b.n.b bVar, d.a aVar, boolean z2, CompactOnLaunchCallback compactOnLaunchCallback, boolean z3) {
        this.a = file;
        this.b = str;
        this.f6830c = str2;
        this.f6831d = str3;
        this.f6832e = bArr;
        this.f6833f = j2;
        this.f6834g = hVar;
        this.f6835h = z;
        this.f6836i = durability;
        this.f6837j = kVar;
        this.f6838k = bVar;
        this.f6839l = aVar;
        this.f6840m = z2;
        this.f6841n = compactOnLaunchCallback;
        this.f6842o = z3;
    }

    public static synchronized boolean k() {
        boolean booleanValue;
        synchronized (g.class) {
            if (r == null) {
                try {
                    Class.forName("h.a.c");
                    r = true;
                } catch (ClassNotFoundException unused) {
                    r = false;
                }
            }
            booleanValue = r.booleanValue();
        }
        return booleanValue;
    }

    public CompactOnLaunchCallback a() {
        return this.f6841n;
    }

    public OsRealmConfig.Durability b() {
        return this.f6836i;
    }

    public byte[] c() {
        byte[] bArr = this.f6832e;
        if (bArr == null) {
            return null;
        }
        return Arrays.copyOf(bArr, bArr.length);
    }

    public String d() {
        return this.f6830c;
    }

    public h.b.m.k e() {
        return this.f6837j;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || g.class != obj.getClass()) {
            return false;
        }
        g gVar = (g) obj;
        if (this.f6833f != gVar.f6833f || this.f6835h != gVar.f6835h || this.f6840m != gVar.f6840m || this.f6842o != gVar.f6842o) {
            return false;
        }
        File file = this.a;
        if (file == null ? gVar.a != null : !file.equals(gVar.a)) {
            return false;
        }
        String str = this.b;
        if (str == null ? gVar.b != null : !str.equals(gVar.b)) {
            return false;
        }
        if (!this.f6830c.equals(gVar.f6830c)) {
            return false;
        }
        String str2 = this.f6831d;
        if (str2 == null ? gVar.f6831d != null : !str2.equals(gVar.f6831d)) {
            return false;
        }
        if (!Arrays.equals(this.f6832e, gVar.f6832e)) {
            return false;
        }
        h hVar = this.f6834g;
        if (hVar == null ? gVar.f6834g != null : !hVar.equals(gVar.f6834g)) {
            return false;
        }
        if (this.f6836i != gVar.f6836i || !this.f6837j.equals(gVar.f6837j)) {
            return false;
        }
        h.b.n.b bVar = this.f6838k;
        if (bVar == null ? gVar.f6838k != null : !bVar.equals(gVar.f6838k)) {
            return false;
        }
        d.a aVar = this.f6839l;
        if (aVar == null ? gVar.f6839l != null : !aVar.equals(gVar.f6839l)) {
            return false;
        }
        CompactOnLaunchCallback compactOnLaunchCallback = this.f6841n;
        CompactOnLaunchCallback compactOnLaunchCallback2 = gVar.f6841n;
        return compactOnLaunchCallback != null ? compactOnLaunchCallback.equals(compactOnLaunchCallback2) : compactOnLaunchCallback2 == null;
    }

    public long f() {
        return this.f6833f;
    }

    public boolean g() {
        return this.f6840m;
    }

    public boolean h() {
        return this.f6842o;
    }

    public int hashCode() {
        File file = this.a;
        int hashCode = (file != null ? file.hashCode() : 0) * 31;
        String str = this.b;
        int hashCode2 = (((hashCode + (str != null ? str.hashCode() : 0)) * 31) + this.f6830c.hashCode()) * 31;
        String str2 = this.f6831d;
        int hashCode3 = (((hashCode2 + (str2 != null ? str2.hashCode() : 0)) * 31) + Arrays.hashCode(this.f6832e)) * 31;
        long j2 = this.f6833f;
        int i2 = (hashCode3 + ((int) (j2 ^ (j2 >>> 32)))) * 31;
        h hVar = this.f6834g;
        int hashCode4 = (((((((i2 + (hVar != null ? hVar.hashCode() : 0)) * 31) + (this.f6835h ? 1 : 0)) * 31) + this.f6836i.hashCode()) * 31) + this.f6837j.hashCode()) * 31;
        h.b.n.b bVar = this.f6838k;
        int hashCode5 = (hashCode4 + (bVar != null ? bVar.hashCode() : 0)) * 31;
        d.a aVar = this.f6839l;
        int hashCode6 = (((hashCode5 + (aVar != null ? aVar.hashCode() : 0)) * 31) + (this.f6840m ? 1 : 0)) * 31;
        CompactOnLaunchCallback compactOnLaunchCallback = this.f6841n;
        return ((hashCode6 + (compactOnLaunchCallback != null ? compactOnLaunchCallback.hashCode() : 0)) * 31) + (this.f6842o ? 1 : 0);
    }

    public boolean i() {
        return this.f6835h;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("realmDirectory: ");
        File file = this.a;
        sb.append(file != null ? file.toString() : "");
        sb.append("\n");
        sb.append("realmFileName : ");
        sb.append(this.b);
        sb.append("\n");
        sb.append("canonicalPath: ");
        sb.append(this.f6830c);
        sb.append("\n");
        sb.append("key: ");
        sb.append("[length: ");
        sb.append(this.f6832e == null ? 0 : 64);
        sb.append("]");
        sb.append("\n");
        sb.append("schemaVersion: ");
        sb.append(Long.toString(this.f6833f));
        sb.append("\n");
        sb.append("migration: ");
        sb.append(this.f6834g);
        sb.append("\n");
        sb.append("deleteRealmIfMigrationNeeded: ");
        sb.append(this.f6835h);
        sb.append("\n");
        sb.append("durability: ");
        sb.append(this.f6836i);
        sb.append("\n");
        sb.append("schemaMediator: ");
        sb.append(this.f6837j);
        sb.append("\n");
        sb.append("readOnly: ");
        sb.append(this.f6840m);
        sb.append("\n");
        sb.append("compactOnLaunch: ");
        sb.append(this.f6841n);
        return sb.toString();
    }

    public static h.b.m.k a(Set<Object> set, Set<Class<? extends i>> set2) {
        if (set2.size() > 0) {
            return new h.b.m.q.b(q, set2);
        }
        if (set.size() == 1) {
            return a(set.iterator().next().getClass().getCanonicalName());
        }
        h.b.m.k[] kVarArr = new h.b.m.k[set.size()];
        int i2 = 0;
        Iterator<Object> it = set.iterator();
        while (it.hasNext()) {
            kVarArr[i2] = a(it.next().getClass().getCanonicalName());
            i2++;
        }
        return new h.b.m.q.a(kVarArr);
    }

    public static h.b.m.k a(String str) {
        String[] split = str.split("\\.");
        String format = String.format(Locale.US, "io.realm.%s%s", split[split.length - 1], "Mediator");
        try {
            Constructor<?> constructor = Class.forName(format).getDeclaredConstructors()[0];
            constructor.setAccessible(true);
            return (h.b.m.k) constructor.newInstance(new Object[0]);
        } catch (ClassNotFoundException e2) {
            throw new RealmException("Could not find " + format, e2);
        } catch (IllegalAccessException e3) {
            throw new RealmException("Could not create an instance of " + format, e3);
        } catch (InstantiationException e4) {
            throw new RealmException("Could not create an instance of " + format, e4);
        } catch (InvocationTargetException e5) {
            throw new RealmException("Could not create an instance of " + format, e5);
        }
    }

    public static class a {
        public File a;
        public String b;

        public String f6843c;

        public byte[] f6844d;

        public long f6845e;

        public h f6846f;

        public boolean f6847g;

        public OsRealmConfig.Durability f6848h;

        public HashSet<Object> f6849i = new HashSet<>();

        public HashSet<Class<? extends i>> f6850j = new HashSet<>();

        public h.b.n.b f6851k;

        public d.a f6852l;

        public boolean f6853m;

        public CompactOnLaunchCallback f6854n;

        public a(Context context) {
            if (context != null) {
                h.b.m.j.a(context);
                a(context);
                return;
            }
            throw new IllegalStateException("Call `Realm.init(Context)` before creating a RealmConfiguration");
        }

        public final void a(Context context) {
            this.a = context.getFilesDir();
            this.b = "default.realm";
            this.f6844d = null;
            this.f6845e = 0L;
            this.f6846f = null;
            this.f6847g = false;
            this.f6848h = OsRealmConfig.Durability.FULL;
            this.f6853m = false;
            this.f6854n = null;
            if (g.f6829p != null) {
                this.f6849i.add(g.f6829p);
            }
        }

        public g a() {
            if (this.f6853m) {
                if (this.f6852l == null) {
                    if (this.f6843c != null) {
                        if (!this.f6847g) {
                            if (this.f6854n != null) {
                                throw new IllegalStateException("'compactOnLaunch()' and read-only Realms cannot be combined");
                            }
                        } else {
                            throw new IllegalStateException("'deleteRealmIfMigrationNeeded()' and read-only Realms cannot be combined");
                        }
                    } else {
                        throw new IllegalStateException("Only Realms provided using 'assetFile(path)' can be marked read-only. No such Realm was provided.");
                    }
                } else {
                    throw new IllegalStateException("This Realm is marked as read-only. Read-only Realms cannot use initialData(Realm.Transaction).");
                }
            }
            if (this.f6851k == null && g.k()) {
                this.f6851k = new h.b.n.a();
            }
            return new g(this.a, this.b, g.a(new File(this.a, this.b)), this.f6843c, this.f6844d, this.f6845e, this.f6846f, this.f6847g, this.f6848h, g.a(this.f6849i, this.f6850j), this.f6851k, this.f6852l, this.f6853m, this.f6854n, false);
        }
    }

    public static String a(File file) {
        try {
            return file.getCanonicalPath();
        } catch (IOException e2) {
            throw new RealmFileException(RealmFileException.Kind.ACCESS_ERROR, "Could not resolve the canonical path to the Realm file: " + file.getAbsolutePath(), e2);
        }
    }
}