XFATextFieldNode.java 3.39 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  scala.Option
 *  scala.ScalaObject
 *  scala.Some
 *  scala.reflect.ScalaSignature
 *  scala.xml.Node
 *  scala.xml.NodeSeq
 */
package com.adobe.forms.layout;

import com.adobe.forms.layout.XFAFieldNode;
import com.adobe.forms.layout.XFANode;
import scala.Option;
import scala.ScalaObject;
import scala.Some;
import scala.reflect.ScalaSignature;
import scala.xml.Node;
import scala.xml.NodeSeq;

@ScalaSignature(bytes="\u0006\u0001Q2A!\u0001\u0002\u0001\u0017\t\u0001\u0002LR!UKb$h)[3mI:{G-\u001a\u0006\u0003\u0007\u0011\ta\u0001\\1z_V$(BA\u0003\u0007\u0003\u00151wN]7t\u0015\t9\u0001\"A\u0003bI>\u0014WMC\u0001\n\u0003\r\u0019w.\\\u0002\u0001'\r\u0001A\u0002\u0005\t\u0003\u001b9i\u0011AA\u0005\u0003\u001f\t\u0011A\u0002\u0017$B\r&,G\u000e\u001a(pI\u0016\u0004\"!\u0005\u000b\u000e\u0003IQ\u0011aE\u0001\u0006g\u000e\fG.Y\u0005\u0003+I\u00111bU2bY\u0006|%M[3di\"Aq\u0003\u0001B\u0001B\u0003%\u0001$\u0001\u0003o_\u0012,\u0007CA\r\u001d\u001b\u0005Q\"BA\u000e\u0013\u0003\rAX\u000e\\\u0005\u0003;i\u0011AAT8eK\")q\u0004\u0001C\u0001A\u00051A(\u001b8jiz\"\"!\t\u0012\u0011\u00055\u0001\u0001\"B\f\u001f\u0001\u0004A\u0002\u0002\u0003\u0013\u0001\u0011\u000b\u0007I\u0011A\u0013\u0002\u00119|G-\u001a+za\u0016,\u0012A\n\t\u0003O1j\u0011\u0001\u000b\u0006\u0003S)\nA\u0001\\1oO*\t1&\u0001\u0003kCZ\f\u0017BA\u0017)\u0005\u0019\u0019FO]5oO\"Aq\u0006\u0001E\u0001B\u0003&a%A\u0005o_\u0012,G+\u001f9fA!A\u0011\u0007\u0001EC\u0002\u0013\u0005Q%\u0001\u0003s_2,\u0007\u0002C\u001a\u0001\u0011\u0003\u0005\u000b\u0015\u0002\u0014\u0002\u000bI|G.\u001a\u0011")
public class XFATextFieldNode
extends XFAFieldNode
implements ScalaObject {
    private String nodeType;
    private String role;

    /*
     * Unable to fully structure code
     * Enabled aggressive block sorting
     * Enabled unnecessary exception pruning
     * Enabled aggressive exception aggregation
     * Converted monitor instructions to comments
     * Lifted jumps to return sites
     */
    public String nodeType() {
        if ((this.bitmap$0 & 2048) != 0) return this.nodeType;
        var1_1 = this;
        // MONITORENTER : var1_1
        if ((this.bitmap$0 & 2048) != 0) ** GOTO lbl19
        var2_2 = this.readNodeAsString("multiLine", this.readNodeAsString$default$2());
        if (!(var2_2 instanceof Some)) ** GOTO lbl-1000
        v0 = ((Some)var2_2).x();
        var3_3 = "1";
        if (v0 != null) ** GOTO lbl13
        if (var3_3 == null) ** GOTO lbl-1000
        ** GOTO lbl-1000
lbl13: // 1 sources:
        if (v0.equals(var3_3)) lbl-1000: // 2 sources:
        {
            v1 = "textareafield";
        } else lbl-1000: // 3 sources:
        {
            v1 = "textfield";
        }
        this.nodeType = v1;
        this.bitmap$0 = this.bitmap$0 | 2048;
lbl19: // 2 sources:
        // MONITOREXIT : var1_1
        return this.nodeType;
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    public String role() {
        if ((this.bitmap$0 & 4096) != 0) return this.role;
        XFATextFieldNode xFATextFieldNode = this;
        synchronized (xFATextFieldNode) {
            if ((this.bitmap$0 & 4096) == 0) {
                this.role = "textbox";
                this.bitmap$0 = this.bitmap$0 | 4096;
            }
            return this.role;
        }
    }

    public XFATextFieldNode(Node node) {
        super(node);
    }
}