/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.objectmodel.Goid
 */
package com.l7tech.server.uddi;

import com.l7tech.objectmodel.Goid;
import com.l7tech.server.uddi.o;

class TimerUDDIEvent
extends o {
    private final Goid b;
    private final Type c;

    TimerUDDIEvent(Goid goid, Type type) {
        this.b = goid;
        this.c = type;
    }

    Goid a() {
        return this.b;
    }

    Type b() {
        return this.c;
    }

    static final class Type
    extends Enum<Type> {
        public static final /* enum */ Type METRICS_PUBLISH;
        public static final /* enum */ Type METRICS_CLEANUP;
        public static final /* enum */ Type SUBSCRIPTION_POLL;
        private static final /* synthetic */ Type[] $VALUES;

        public static Type[] values() {
            return (Type[])$VALUES.clone();
        }

        public static Type valueOf(String string) {
            return Enum.valueOf(Type.class, string);
        }

        private static /* synthetic */ Type[] $values() {
            return new Type[]{METRICS_PUBLISH, METRICS_CLEANUP, SUBSCRIPTION_POLL};
        }

        /*
         * Enabled aggressive block sorting
         */
        static {
            String[] stringArray = new String[3];
            int n2 = 0;
            String string = "brh\tr\u0005upgi\u0019w\u000fug\u000fbrh\tr\u0005uptp\u001ez\bs\u007f\u0011|b~\bx\u0014o\u007fcu\u0014u\u0019v`{p";
            int n3 = "brh\tr\u0005upgi\u0019w\u000fug\u000fbrh\tr\u0005uptp\u001ez\bs\u007f\u0011|b~\bx\u0014o\u007fcu\u0014u\u0019v`{p".length();
            int n4 = 15;
            int n5 = -1;
            while (true) {
                int n6 = ++n5;
                stringArray[n2++] = Type.a(117, Type.a(string.substring(n6, n6 + n4)));
                if ((n5 += n4) >= n3) {
                    METRICS_PUBLISH = new Type();
                    METRICS_CLEANUP = new Type();
                    SUBSCRIPTION_POLL = new Type();
                    $VALUES = Type.$values();
                    return;
                }
                n4 = string.charAt(n5);
            }
        }

        private static char[] a(String string) {
            char[] cArray = string.toCharArray();
            if (cArray.length < 2) {
                cArray = cArray;
                cArray[0] = (char)(cArray[0] ^ 0x53);
            }
            return cArray;
        }

        /*
         * Handled impossible loop by duplicating code
         * Enabled aggressive block sorting
         */
        private static String a(int n2, char[] cArray) {
            char[] cArray2;
            block11: {
                int n3;
                int n4;
                int n5;
                block10: {
                    n5 = n2;
                    cArray2 = cArray;
                    n4 = cArray.length;
                    n3 = 0;
                    if (!true) break block10;
                    n4 = n4;
                    if (n4 <= n3) break block11;
                }
                do {
                    n5 = n5;
                    cArray2 = cArray2;
                    int n6 = n3;
                    cArray2[n6] = (char)(cArray2[n6] ^ (n5 ^ (switch (n3 % 7) {
                        case 0 -> 90;
                        case 1 -> 66;
                        case 2 -> 73;
                        case 3 -> 46;
                        case 4 -> 78;
                        case 5 -> 51;
                        default -> 83;
                    })));
                    ++n3;
                    n4 = n4;
                } while (n4 > n3);
            }
            return new String(cArray2).intern();
        }
    }
}

