jadx icon indicating copy to clipboard operation
jadx copied to clipboard

[core] Unknown enum class pattern

Open benwaffle opened this issue 4 months ago • 1 comments

Issue details

When decompiling Google Messages_messages.android_20250723_00_RC01.phone_dynamic_APKPure.xapk, I found an enum that wasn't recognized properly.

Relevant log output or stacktrace


Provide sample and class/method full name

APK - https://apkpure.com/messages-by-google/com.google.android.apps.messaging/download/messages.android_20250723_00_RC01.phone_dynamic

p000.rqe:

package p000;

/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* compiled from: PG */
/* loaded from: classes.dex */
public final class rqe {

    /* renamed from: a */
    public static final rqe f243275a;

    /* renamed from: b */
    public static final rqe f243276b;

    /* renamed from: c */
    public static final rqe f243277c;

    /* renamed from: d */
    public static final rqe f243278d;

    /* renamed from: e */
    private static final /* synthetic */ rqe[] f243279e;

    static {
        rqe rqeVar = new rqe("REPLACE", 0);
        f243275a = rqeVar;
        rqe rqeVar2 = new rqe("KEEP", 1);
        f243276b = rqeVar2;
        rqe rqeVar3 = new rqe("APPEND", 2);
        f243277c = rqeVar3;
        rqe rqeVar4 = new rqe("APPEND_OR_REPLACE", 3);
        f243278d = rqeVar4;
        rqe[] rqeVarArr = {rqeVar, rqeVar2, rqeVar3, rqeVar4};
        f243279e = rqeVarArr;
        fgnu.m67703a(rqeVarArr);
    }

    private rqe(String str, int i) {
    }

    public static rqe[] values() {
        return (rqe[]) f243279e.clone();
    }
}

Jadx version

1.5.2

benwaffle avatar Aug 15 '25 09:08 benwaffle

p000.ervj is another one - although jadx thinks it's an enum but it doesn't look like one to me

benwaffle avatar Aug 15 '25 09:08 benwaffle