Presence$.java 2.78 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.forms.layout.Presence$$anonfun
 *  com.adobe.forms.layout.Presence$$anonfun$apply
 *  scala.Function0
 *  scala.Option
 *  scala.ScalaObject
 *  scala.runtime.AbstractFunction0
 */
package com.adobe.forms.layout;

import com.adobe.forms.layout.Presence;
import com.adobe.forms.layout.Presence$;
import com.adobe.forms.layout.PresenceHidden$;
import com.adobe.forms.layout.PresenceInVisible$;
import com.adobe.forms.layout.PresenceInactive$;
import com.adobe.forms.layout.PresenceVisible$;
import scala.Function0;
import scala.Option;
import scala.ScalaObject;
import scala.runtime.AbstractFunction0;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
public final class Presence$
implements ScalaObject {
    public static final Presence$ MODULE$;

    public static {
        new com.adobe.forms.layout.Presence$();
    }

    /*
     * Unable to fully structure code
     * Enabled aggressive block sorting
     * Lifted jumps to return sites
     */
    public Presence apply(String text) {
        var2_2 = text;
        v0 = PresenceHidden$.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 /* !! */  = PresenceHidden$.MODULE$;
            return v1 /* !! */ ;
        }
lbl10: // 3 sources:
        v2 = PresenceInactive$.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 /* !! */  = PresenceInactive$.MODULE$;
            return v1 /* !! */ ;
        }
lbl18: // 3 sources:
        v3 = PresenceInVisible$.MODULE$.value();
        var5_5 = var2_2;
        if (v3 != null) ** GOTO lbl23
        if (var5_5 == null) ** GOTO lbl-1000
        ** GOTO lbl26
lbl23: // 1 sources:
        if (v3.equals(var5_5)) lbl-1000: // 2 sources:
        {
            v1 /* !! */  = PresenceInVisible$.MODULE$;
            return v1 /* !! */ ;
        }
lbl26: // 3 sources:
        v1 /* !! */  = PresenceVisible$.MODULE$;
        return v1 /* !! */ ;
    }

    public Presence apply(Option<String> text) {
        return this.apply((String)text.getOrElse((Function0)new scala.Serializable(){
            public static final long serialVersionUID;

            public static {
                long l = anonfun.apply.serialVersionUID = 0;
            }

            public final String apply() {
                return "";
            }
        }));
    }

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