CacheStrategy$.java 1.65 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  scala.ScalaObject
 */
package com.adobe.forms.cache;

import com.adobe.forms.cache.CacheStrategy;
import com.adobe.forms.cache.CacheStrategyAggressive$;
import com.adobe.forms.cache.CacheStrategyConservative$;
import com.adobe.forms.cache.CacheStrategyNone$;
import scala.ScalaObject;

public final class CacheStrategy$
implements ScalaObject {
    public static final CacheStrategy$ MODULE$;

    public static {
        new com.adobe.forms.cache.CacheStrategy$();
    }

    /*
     * Unable to fully structure code
     * Enabled aggressive block sorting
     * Lifted jumps to return sites
     */
    public CacheStrategy apply(String s) {
        var2_2 = s;
        v0 = CacheStrategyNone$.MODULE$.value();
        var3_3 = var2_2;
        if (v0 != null) ** GOTO lbl7
        if (var3_3 == null) ** GOTO lbl-1000
        ** GOTO lbl10
lbl7: // 1 sources:
        if (v0.equals(var3_3)) lbl-1000: // 2 sources:
        {
            v1 /* !! */  = CacheStrategyNone$.MODULE$;
            return v1 /* !! */ ;
        }
lbl10: // 3 sources:
        v2 = CacheStrategyConservative$.MODULE$.value();
        var4_4 = var2_2;
        if (v2 != null) ** GOTO lbl15
        if (var4_4 == null) ** GOTO lbl-1000
        ** GOTO lbl18
lbl15: // 1 sources:
        if (v2.equals(var4_4)) lbl-1000: // 2 sources:
        {
            v1 /* !! */  = CacheStrategyConservative$.MODULE$;
            return v1 /* !! */ ;
        }
lbl18: // 3 sources:
        v1 /* !! */  = CacheStrategyAggressive$.MODULE$;
        return v1 /* !! */ ;
    }

    private CacheStrategy$() {
        MODULE$ = this;
    }
}