XFASubformNode.java 7.54 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.forms.layout.XFASubformNode$
 *  com.adobe.forms.layout.XFASubformNode$$anonfun
 *  com.adobe.forms.layout.XFASubformNode$$anonfun$isFlowable
 *  scala.Function0
 *  scala.Option
 *  scala.Predef
 *  scala.Predef$
 *  scala.ScalaObject
 *  scala.Some
 *  scala.collection.immutable.StringOps
 *  scala.reflect.ScalaSignature
 *  scala.runtime.AbstractFunction0
 *  scala.xml.Node
 *  scala.xml.NodeSeq
 */
package com.adobe.forms.layout;

import com.adobe.forms.layout.Layout;
import com.adobe.forms.layout.Layout$;
import com.adobe.forms.layout.LayoutPosition$;
import com.adobe.forms.layout.Occur;
import com.adobe.forms.layout.Role;
import com.adobe.forms.layout.Role$;
import com.adobe.forms.layout.XFAContainerNode;
import com.adobe.forms.layout.XFANode;
import com.adobe.forms.layout.XFASubformNode;
import scala.Function0;
import scala.Option;
import scala.Predef;
import scala.ScalaObject;
import scala.Some;
import scala.collection.immutable.StringOps;
import scala.reflect.ScalaSignature;
import scala.runtime.AbstractFunction0;
import scala.xml.Node;
import scala.xml.NodeSeq;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
@ScalaSignature(bytes="\u0006\u000154A!\u0001\u0002\u0001\u0017\tq\u0001LR!Tk\n4wN]7O_\u0012,'BA\u0002\u0005\u0003\u0019a\u0017-_8vi*\u0011QAB\u0001\u0006M>\u0014Xn\u001d\u0006\u0003\u000f!\tQ!\u00193pE\u0016T\u0011!C\u0001\u0004G>l7\u0001A\n\u0004\u00011\u0001\u0002CA\u0007\u000f\u001b\u0005\u0011\u0011BA\b\u0003\u0005AAf)Q\"p]R\f\u0017N\\3s\u001d>$W\r\u0005\u0002\u0012)5\t!CC\u0001\u0014\u0003\u0015\u00198-\u00197b\u0013\t)\"CA\u0006TG\u0006d\u0017m\u00142kK\u000e$\b\u0002C\f\u0001\u0005\u0003\u0005\u000b\u0011\u0002\r\u0002\t9|G-\u001a\t\u00033qi\u0011A\u0007\u0006\u00037I\t1\u0001_7m\u0013\ti\"D\u0001\u0003O_\u0012,\u0007\"B\u0010\u0001\t\u0003\u0001\u0013A\u0002\u001fj]&$h\b\u0006\u0002\"EA\u0011Q\u0002\u0001\u0005\u0006/y\u0001\r\u0001\u0007\u0005\bI\u0001\u0011\r\u0011\"\u0001&\u0003\u0015Ig\u000eZ3y+\u00051\u0003CA\t(\u0013\tA#CA\u0002J]RDaA\u000b\u0001!\u0002\u00131\u0013AB5oI\u0016D\b\u0005C\u0004\u0004\u0001\t\u0007I\u0011\u0001\u0017\u0016\u00035\u00022!\u0005\u00181\u0013\ty#C\u0001\u0004PaRLwN\u001c\t\u0003\u001bEJ!A\r\u0002\u0003\r1\u000b\u0017p\\;u\u0011\u0019!\u0004\u0001)A\u0005[\u00059A.Y=pkR\u0004\u0003b\u0002\u001c\u0001\u0005\u0004%\taN\u0001\u0005e>dW-F\u00019!\r\tb&\u000f\t\u0003\u001biJ!a\u000f\u0002\u0003\tI{G.\u001a\u0005\u0007{\u0001\u0001\u000b\u0011\u0002\u001d\u0002\u000bI|G.\u001a\u0011\t\u000f}\u0002!\u0019!C\u0001\u0001\u0006Q1/\u001e2g_Jl7+\u001a;\u0016\u0003\u0005\u00032!\u0005\u0018C!\t\u0019eI\u0004\u0002\u0012\t&\u0011QIE\u0001\u0007!J,G-\u001a4\n\u0005\u001dC%AB*ue&twM\u0003\u0002F%!1!\n\u0001Q\u0001\n\u0005\u000b1b];cM>\u0014XnU3uA!9A\n\u0001b\u0001\n\u0003i\u0015!B8dGV\u0014X#\u0001(\u0011\u00055y\u0015B\u0001)\u0003\u0005\u0015y5mY;s\u0011\u0019\u0011\u0006\u0001)A\u0005\u001d\u00061qnY2ve\u0002BQ\u0001\u0016\u0001\u0005BU\u000b!\"[:GY><\u0018M\u00197f+\u00051\u0006CA\tX\u0013\tA&CA\u0004C_>dW-\u00198\t\u0011i\u0003\u0001R1A\u0005\u0002m\u000b\u0001B\\8eKRK\b/Z\u000b\u00029B\u0011QLY\u0007\u0002=*\u0011q\fY\u0001\u0005Y\u0006twMC\u0001b\u0003\u0011Q\u0017M^1\n\u0005\u001ds\u0006\u0002\u00033\u0001\u0011\u0003\u0005\u000b\u0015\u0002/\u0002\u00139|G-\u001a+za\u0016\u0004\u0003\u0002\u00034\u0001\u0011\u000b\u0007I\u0011\u0001!\u0002\u0019\r|G.^7o/&$G\u000f[:\t\u0011!\u0004\u0001\u0012!Q!\n\u0005\u000bQbY8mk6tw+\u001b3uQN\u0004\u0003b\u00026\u0001\u0005\u0004%\t!V\u0001\fSN$\u0015\r^1UC\ndW\r\u0003\u0004m\u0001\u0001\u0006IAV\u0001\rSN$\u0015\r^1UC\ndW\r\t")
public class XFASubformNode
extends XFAContainerNode
implements ScalaObject {
    private final int index;
    private final Option<Layout> layout;
    private final Option<Role> role;
    private final Option<String> subformSet;
    private final Occur occur;
    private String nodeType;
    private Option<String> columnWidths;
    private final boolean isDataTable;

    public int index() {
        return this.index;
    }

    public Option<Layout> layout() {
        return this.layout;
    }

    public Option<Role> role() {
        return this.role;
    }

    public Option<String> subformSet() {
        return this.subformSet;
    }

    public Occur occur() {
        return this.occur;
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    @Override
    public boolean isFlowable() {
        Object object = this.layout().getOrElse((Function0)new scala.Serializable(this){
            public static final long serialVersionUID;

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

            public final LayoutPosition$ apply() {
                return LayoutPosition$.MODULE$;
            }
        });
        LayoutPosition$ layoutPosition$ = LayoutPosition$.MODULE$;
        if (object != null) {
            if (!object.equals(layoutPosition$)) return true;
            return false;
        }
        if (layoutPosition$ == null) return false;
        return true;
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    @Override
    public String nodeType() {
        if ((this.bitmap$0 & 32) != 0) return this.nodeType;
        XFASubformNode xFASubformNode = this;
        synchronized (xFASubformNode) {
            if ((this.bitmap$0 & 32) == 0) {
                this.nodeType = "subform";
                this.bitmap$0 = this.bitmap$0 | 32;
            }
            return this.nodeType;
        }
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    public Option<String> columnWidths() {
        if ((this.bitmap$0 & 64) != 0) return this.columnWidths;
        XFASubformNode xFASubformNode = this;
        synchronized (xFASubformNode) {
            if ((this.bitmap$0 & 64) == 0) {
                this.columnWidths = this.readNodeAsString("columnWidths", this.readNodeAsString$default$2());
                this.bitmap$0 = this.bitmap$0 | 64;
            }
            return this.columnWidths;
        }
    }

    public boolean isDataTable() {
        return this.isDataTable;
    }

    /*
     * Unable to fully structure code
     * Enabled aggressive block sorting
     * Lifted jumps to return sites
     */
    public XFASubformNode(Node node) {
        super(node);
        this.index = Predef..MODULE$.augmentString((String)this.readNodeAsString("index", this.readNodeAsString$default$2()).getOrElse((Function0)new .anonfun.1(this))).toInt();
        this.layout = Layout$.MODULE$.apply(this.readNodeAsString("layout", this.readNodeAsString$default$2()));
        this.role = Role$.MODULE$.apply(this.readNodeAsString("role", this.readNodeAsString$default$2()));
        this.subformSet = this.readNodeAsString("subformSet", this.readNodeAsString$default$2());
        this.occur = new Occur(this.readNodeAsInt("@min", node.$bslash("occur")), this.readNodeAsInt("@max", node.$bslash("occur")));
        var2_2 = this.readNodeAsString("complexTable", this.readNodeAsString$default$2());
        if (!(var2_2 instanceof Some)) ** GOTO lbl-1000
        v0 = ((Some)var2_2).x();
        var3_3 = "1";
        if (v0 != null) ** GOTO lbl14
        if (var3_3 == null) ** GOTO lbl-1000
        ** GOTO lbl-1000
lbl14: // 1 sources:
        if (v0.equals(var3_3)) lbl-1000: // 2 sources:
        {
            v1 = true;
        } else lbl-1000: // 3 sources:
        {
            v1 = false;
        }
        this.isDataTable = v1;
    }
}