XFAChoiceListNode.java
8.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.forms.layout.XFAChoiceListNode$
* com.adobe.forms.layout.XFAChoiceListNode$$anonfun
* com.adobe.forms.layout.XFAChoiceListNode$$anonfun$editable
* com.adobe.forms.layout.XFAChoiceListNode$$anonfun$items
* scala.Function0
* scala.Function1
* scala.Option
* scala.ScalaObject
* scala.collection.generic.CanBuildFrom
* scala.collection.immutable.Seq
* scala.collection.immutable.Seq$
* scala.reflect.ScalaSignature
* scala.runtime.AbstractFunction0
* scala.runtime.AbstractFunction0$mcZ
* scala.runtime.AbstractFunction0$mcZ$sp
* scala.runtime.AbstractFunction1
* scala.runtime.BoxesRunTime
* scala.xml.Node
* scala.xml.NodeSeq
*/
package com.adobe.forms.layout;
import com.adobe.forms.layout.Item;
import com.adobe.forms.layout.Open;
import com.adobe.forms.layout.Open$;
import com.adobe.forms.layout.XFAChoiceListNode;
import com.adobe.forms.layout.XFAFieldNode;
import com.adobe.forms.layout.XFANode;
import scala.Function0;
import scala.Function1;
import scala.Option;
import scala.ScalaObject;
import scala.collection.generic.CanBuildFrom;
import scala.collection.immutable.Seq;
import scala.reflect.ScalaSignature;
import scala.runtime.AbstractFunction0;
import scala.runtime.AbstractFunction1;
import scala.runtime.BoxesRunTime;
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\u0001]3A!\u0001\u0002\u0001\u0017\t\t\u0002LR!DQ>L7-\u001a'jgRtu\u000eZ3\u000b\u0005\r!\u0011A\u00027bs>,HO\u0003\u0002\u0006\r\u0005)am\u001c:ng*\u0011q\u0001C\u0001\u0006C\u0012|'-\u001a\u0006\u0002\u0013\u0005\u00191m\\7\u0004\u0001M\u0019\u0001\u0001\u0004\t\u0011\u00055qQ\"\u0001\u0002\n\u0005=\u0011!\u0001\u0004-G\u0003\u001aKW\r\u001c3O_\u0012,\u0007CA\t\u0015\u001b\u0005\u0011\"\"A\n\u0002\u000bM\u001c\u0017\r\\1\n\u0005U\u0011\"aC*dC2\fwJ\u00196fGRD\u0001b\u0006\u0001\u0003\u0002\u0003\u0006I\u0001G\u0001\u0005]>$W\r\u0005\u0002\u001a95\t!D\u0003\u0002\u001c%\u0005\u0019\u00010\u001c7\n\u0005uQ\"\u0001\u0002(pI\u0016DQa\b\u0001\u0005\u0002\u0001\na\u0001P5oSRtDCA\u0011#!\ti\u0001\u0001C\u0003\u0018=\u0001\u0007\u0001\u0004C\u0004%\u0001\t\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\"1q\u0006\u0001Q\u0001\n\u0019\n\u0011B\\8eKRK\b/\u001a\u0011\t\u0011E\u0002\u0001R1A\u0005\u0002I\nQ!\u001b;f[N,\u0012a\r\t\u0004ieZT\"A\u001b\u000b\u0005Y:\u0014!C5n[V$\u0018M\u00197f\u0015\tA$#\u0001\u0006d_2dWm\u0019;j_:L!AO\u001b\u0003\u0007M+\u0017\u000f\u0005\u0002\u000ey%\u0011QH\u0001\u0002\u0005\u0013R,W\u000e\u0003\u0005@\u0001!\u0005\t\u0015)\u00034\u0003\u0019IG/Z7tA!A\u0011\t\u0001EC\u0002\u0013\u0005!)\u0001\u0003pa\u0016tW#A\"\u0011\u0007E!e)\u0003\u0002F%\t1q\n\u001d;j_:\u0004\"!D$\n\u0005!\u0013!\u0001B(qK:D\u0001B\u0013\u0001\t\u0002\u0003\u0006KaQ\u0001\u0006_B,g\u000e\t\u0005\t\u0019\u0002A)\u0019!C\u0001\u001b\u0006AQ\rZ5uC\ndW-F\u0001O!\t\tr*\u0003\u0002Q%\t9!i\\8mK\u0006t\u0007\u0002\u0003*\u0001\u0011\u0003\u0005\u000b\u0015\u0002(\u0002\u0013\u0015$\u0017\u000e^1cY\u0016\u0004\u0003\u0002\u0003+\u0001\u0011\u000b\u0007I\u0011A\u0013\u0002\tI|G.\u001a\u0005\t-\u0002A\t\u0011)Q\u0005M\u0005)!o\u001c7fA\u0001")
public class XFAChoiceListNode
extends XFAFieldNode
implements ScalaObject {
private final Node node;
private final String nodeType;
private Seq<Item> items;
private Option<Open> open;
private boolean editable;
private String role;
@Override
public String nodeType() {
return this.nodeType;
}
/*
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Converted monitor instructions to comments
* Lifted jumps to return sites
*/
public Seq<Item> items() {
if ((this.bitmap$0 & 2048) != 0) return this.items;
XFAChoiceListNode xFAChoiceListNode = this;
// MONITORENTER : xFAChoiceListNode
if ((this.bitmap$0 & 2048) == 0) {
this.items = (Seq)this.node.$bslash("item").map((Function1)new scala.Serializable(this){
public static final long serialVersionUID;
private final XFAChoiceListNode $outer;
public static {
long l = .anonfun.items.serialVersionUID = 0;
}
public final Item apply(Node item) {
String display$2 = (String)this.$outer.readNodeAsString("display", (NodeSeq)item).getOrElse((Function0)new com.adobe.forms.layout.XFAChoiceListNode$$anonfun$items$1$$anonfun$1(this));
String save = (String)this.$outer.readNodeAsString("save", (NodeSeq)item).getOrElse((Function0)new com.adobe.forms.layout.XFAChoiceListNode$$anonfun$items$1$$anonfun$2(this, display$2));
Option<Object> selected = this.$outer.readNodeAsBoolean("@selected", (NodeSeq)item);
return new Item(display$2, save, BoxesRunTime.unboxToBoolean((Object)selected.getOrElse((Function0)new scala.Serializable(this){
public static final long serialVersionUID;
public static {
long l = com.adobe.forms.layout.XFAChoiceListNode$$anonfun$items$1$$anonfun$apply$1.serialVersionUID = 0;
}
public final boolean apply() {
return this.apply$mcZ$sp();
}
public boolean apply$mcZ$sp() {
return false;
}
})));
}
}, Seq..MODULE$.canBuildFrom());
this.bitmap$0 = this.bitmap$0 | 2048;
}
// MONITOREXIT : xFAChoiceListNode
this.node = null;
return this.items;
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public Option<Open> open() {
if ((this.bitmap$0 & 4096) != 0) return this.open;
XFAChoiceListNode xFAChoiceListNode = this;
synchronized (xFAChoiceListNode) {
if ((this.bitmap$0 & 4096) == 0) {
this.open = Open$.MODULE$.apply(this.readNodeAsString("open", this.readNodeAsString$default$2()));
this.bitmap$0 = this.bitmap$0 | 4096;
}
return this.open;
}
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
public boolean editable() {
if ((this.bitmap$0 & 8192) != 0) return this.editable;
XFAChoiceListNode xFAChoiceListNode = this;
synchronized (xFAChoiceListNode) {
if ((this.bitmap$0 & 8192) == 0) {
this.editable = BoxesRunTime.unboxToBoolean((Object)this.readNodeAsBoolean("editable", this.readNodeAsBoolean$default$2()).getOrElse((Function0)new scala.Serializable(this){
public static final long serialVersionUID;
public static {
long l = .anonfun.editable.serialVersionUID = 0;
}
public final boolean apply() {
return this.apply$mcZ$sp();
}
public boolean apply$mcZ$sp() {
return false;
}
}));
this.bitmap$0 = this.bitmap$0 | 8192;
}
return this.editable;
}
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
@Override
public String role() {
if ((this.bitmap$0 & 16384) != 0) return this.role;
XFAChoiceListNode xFAChoiceListNode = this;
synchronized (xFAChoiceListNode) {
if ((this.bitmap$0 & 16384) == 0) {
this.role = "listbox";
this.bitmap$0 = this.bitmap$0 | 16384;
}
return this.role;
}
}
public XFAChoiceListNode(Node node) {
this.node = node;
super(node);
this.nodeType = "choicelist";
}
}