XFAConfig$.java 4.96 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.forms.model.XFAConfig$$anon
 *  scala.MatchError
 *  scala.ScalaObject
 */
package com.adobe.forms.model;

import com.adobe.forms.model.ConfigType;
import com.adobe.forms.model.ConfigTypeFormDorm$;
import com.adobe.forms.model.ConfigTypeMergedXDP$;
import com.adobe.forms.model.ConfigTypeRender$;
import com.adobe.forms.model.ConfigTypeSubmitData$;
import com.adobe.forms.model.FormContext;
import com.adobe.forms.model.XFAConfig;
import com.adobe.forms.model.XFAConfig$;
import scala.MatchError;
import scala.ScalaObject;

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

    public static {
        new com.adobe.forms.model.XFAConfig$();
    }

    /*
     * Unable to fully structure code
     * Enabled aggressive block sorting
     * Lifted jumps to return sites
     */
    public XFAConfig apply(FormContext fc$1, ConfigType configType) {
        var3_3 = configType;
        v0 = ConfigTypeRender$.MODULE$;
        var4_4 = var3_3;
        if (v0 != null) ** GOTO lbl7
        if (var4_4 == null) ** GOTO lbl-1000
        ** GOTO lbl10
lbl7: // 1 sources:
        if (v0.equals(var4_4)) lbl-1000: // 2 sources:
        {
            v1 /* !! */  = new XFAConfig.XFARenderConfig(fc$1){
                private final FormContext formContext;
                private final java.lang.String configResKey;
                private final scala.xml.Elem output;
                private final scala.xml.Elem destination;
                private final scala.xml.Elem script;
                private final scala.xml.Elem xdp;
                private final scala.xml.Elem locale;
                private final byte[] source;
                public volatile int bitmap$0;

                public FormContext formContext() {
                    return this.formContext;
                }
            };
            return v1 /* !! */ ;
        }
lbl10: // 3 sources:
        v2 = ConfigTypeMergedXDP$.MODULE$;
        var5_5 = var3_3;
        if (v2 != null) ** GOTO lbl15
        if (var5_5 == null) ** GOTO lbl-1000
        ** GOTO lbl18
lbl15: // 1 sources:
        if (v2.equals(var5_5)) lbl-1000: // 2 sources:
        {
            v1 /* !! */  = new XFAConfig.XFAMergedXDPConfig(fc$1){
                private final FormContext formContext;
                private final java.lang.String configResKey;
                private final scala.xml.Elem output;
                private final scala.xml.Elem destination;
                private final scala.xml.Elem script;
                private final scala.xml.Elem xdp;
                private final scala.xml.Elem locale;
                private final byte[] source;
                public volatile int bitmap$0;

                public FormContext formContext() {
                    return this.formContext;
                }
            };
            return v1 /* !! */ ;
        }
lbl18: // 3 sources:
        v3 = ConfigTypeSubmitData$.MODULE$;
        var6_6 = var3_3;
        if (v3 != null) ** GOTO lbl23
        if (var6_6 == null) ** GOTO lbl-1000
        ** GOTO lbl26
lbl23: // 1 sources:
        if (v3.equals(var6_6)) lbl-1000: // 2 sources:
        {
            v1 /* !! */  = new XFAConfig.XFASubmitDataConfig(fc$1){
                private final FormContext formContext;
                private final java.lang.String configResKey;
                private final scala.xml.Elem output;
                private final scala.xml.Elem destination;
                private final scala.xml.Elem script;
                private final scala.xml.Elem xdp;
                private final scala.xml.Elem locale;
                private final byte[] source;
                public volatile int bitmap$0;

                public FormContext formContext() {
                    return this.formContext;
                }
            };
            return v1 /* !! */ ;
        }
lbl26: // 3 sources:
        v4 = ConfigTypeFormDorm$.MODULE$;
        var7_7 = var3_3;
        if (v4 == null) {
            if (var7_7 != null) {
                throw new MatchError((Object)var3_3);
            }
        } else if (v4.equals(var7_7) == false) throw new MatchError((Object)var3_3);
        v1 /* !! */  = new XFAConfig.XFARenderFormDomConfig(fc$1){
            private final FormContext formContext;
            private final java.lang.String configResKey;
            private final scala.xml.Elem output;
            private final scala.xml.Elem destination;
            private final scala.xml.Elem script;
            private final scala.xml.Elem xdp;
            private final scala.xml.Elem locale;
            private final byte[] source;
            public volatile int bitmap$0;

            public FormContext formContext() {
                return this.formContext;
            }
        };
        return v1 /* !! */ ;
    }

    public ConfigType apply$default$2() {
        return ConfigTypeRender$.MODULE$;
    }

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