KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ca > mcgill > sable > soot > testing > TestOptionsDialogHandler


1 /* Soot - a J*va Optimization Framework
2  * Copyright (C) 2003 Jennifer Lhotak
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */

19
20
21
22 /*
23  * This library is free software; you can redistribute it and/or
24  * modify it under the terms of the GNU Lesser General Public
25  * License as published by the Free Software Foundation; either
26  * version 2.1 of the License, or (at your option) any later version.
27  *
28  * This library is distributed in the hope that it will be useful,
29  * but WITHOUT ANY WARRANTY; without even the implied warranty of
30  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31  * Lesser General Public License for more details.
32  *
33  * You should have received a copy of the GNU Lesser General Public
34  * License along with this library; if not, write to the
35  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
36  * Boston, MA 02111-1307, USA.
37  *
38  * This class is generated automajically from xml - DO NO EDIT - as
39  * changes will be over written
40  *
41  *
42  * The purpose of this class is to automajically generate a handler
43  * for the options dialog the event that options change
44  *
45  * Taking options away - should not damage the handler
46  * Adding new sections of options - should not damage the handler
47  * Adding new otpions to sections (of known option type) - should not
48  * damage the handler
49  *
50  * Adding new option types may cause the handler to produce
51  * incorrect results
52  *
53  */

54
55 package ca.mcgill.sable.soot.testing;
56
57 import java.util.*;
58 import org.eclipse.jface.dialogs.IDialogSettings;
59 import ca.mcgill.sable.soot.SootPlugin;
60
61 public class TestOptionsDialogHandler {
62
63
64     private final static String JavaDoc SPACE = " ";
65     private final static String JavaDoc DASH = "--";
66     private final static String JavaDoc COLON = ":";
67     
68     public TestOptionsDialogHandler() {
69     }
70
71     public String JavaDoc getCmdLine() {
72         IDialogSettings settings = SootPlugin.getDefault().getDialogSettings();
73         
74         StringBuffer JavaDoc cmd = new StringBuffer JavaDoc();
75         String JavaDoc path = null;
76         String JavaDoc defaultVal = null;
77         //String phaseOptsAlias = null;
78
//String phaseAlias = null;
79
//String subPhaseAlias = null;
80
String JavaDoc key = null;
81         boolean value = false;
82         //HashMap phasePairs = new HashMap();
83
boolean boolDefault = false;
84     
85         
86         key = ""+" "+""+" "+"h";
87         value = settings.getBoolean(key.trim());
88         
89         boolDefault = false;
90         
91         
92         if (value != boolDefault) {
93             cmd.append(DASH);
94             cmd.append(key.trim());
95             cmd.append(SPACE);
96         }
97         
98         key = ""+" "+""+" "+"version";
99         value = settings.getBoolean(key.trim());
100         
101         boolDefault = false;
102         
103         
104         if (value != boolDefault) {
105             cmd.append(DASH);
106             cmd.append(key.trim());
107             cmd.append(SPACE);
108         }
109         
110         key = ""+" "+""+" "+"v";
111         value = settings.getBoolean(key.trim());
112         
113         boolDefault = false;
114         
115         
116         if (value != boolDefault) {
117             cmd.append(DASH);
118             cmd.append(key.trim());
119             cmd.append(SPACE);
120         }
121         
122         key = ""+" "+""+" "+"app";
123         value = settings.getBoolean(key.trim());
124         
125         boolDefault = false;
126         
127         
128         if (value != boolDefault) {
129             cmd.append(DASH);
130             cmd.append(key.trim());
131             cmd.append(SPACE);
132         }
133         
134         key = ""+" "+""+" "+"w";
135         value = settings.getBoolean(key.trim());
136         
137         boolDefault = false;
138         
139         
140         if (value != boolDefault) {
141             cmd.append(DASH);
142             cmd.append(key.trim());
143             cmd.append(SPACE);
144         }
145         
146         key = ""+" "+""+" "+"allow-phantom-refs";
147         value = settings.getBoolean(key.trim());
148         
149         boolDefault = false;
150         
151         
152         if (value != boolDefault) {
153             cmd.append(DASH);
154             cmd.append(key.trim());
155             cmd.append(SPACE);
156         }
157         
158         key = ""+" "+""+" "+"cp";
159         
160         
161         
162         path = settings.get(key.trim());
163         if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal)) ) {
164             cmd.append(DASH);
165             cmd.append(key.trim());
166             cmd.append(SPACE);
167             cmd.append(path);
168             cmd.append(SPACE);
169         }
170          
171         key = ""+" "+""+" "+"src-prec";
172         path = settings.get(key.trim());
173         
174         defaultVal = "c";
175         
176         
177         if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
178             cmd.append(DASH);
179             cmd.append(key.trim());
180             cmd.append(SPACE);
181             cmd.append(path);
182             cmd.append(SPACE);
183         }
184         
185         key = ""+" "+""+" "+"via-grimp";
186         value = settings.getBoolean(key.trim());
187         
188         boolDefault = false;
189         
190         
191         if (value != boolDefault) {
192             cmd.append(DASH);
193             cmd.append(key.trim());
194             cmd.append(SPACE);
195         }
196         
197         key = ""+" "+""+" "+"xml-attributes";
198         value = settings.getBoolean(key.trim());
199         
200         boolDefault = false;
201         
202         
203         if (value != boolDefault) {
204             cmd.append(DASH);
205             cmd.append(key.trim());
206             cmd.append(SPACE);
207         }
208         
209         key = ""+" "+""+" "+"d";
210         
211         
212         
213         path = settings.get(key.trim());
214         if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal)) ) {
215             cmd.append(DASH);
216             cmd.append(key.trim());
217             cmd.append(SPACE);
218             cmd.append(path);
219             cmd.append(SPACE);
220         }
221          
222         key = ""+" "+""+" "+"o";
223         path = settings.get(key.trim());
224         
225         defaultVal = "c";
226         
227         
228         if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
229             cmd.append(DASH);
230             cmd.append(key.trim());
231             cmd.append(SPACE);
232             cmd.append(path);
233             cmd.append(SPACE);
234         }
235         
236         key = ""+" "+""+" "+"O";
237         value = settings.getBoolean(key.trim());
238         
239         boolDefault = false;
240         
241         
242         if (value != boolDefault) {
243             cmd.append(DASH);
244             cmd.append(key.trim());
245             cmd.append(SPACE);
246         }
247         
248         key = ""+" "+""+" "+"W";
249         value = settings.getBoolean(key.trim());
250         
251         boolDefault = false;
252         
253         
254         if (value != boolDefault) {
255             cmd.append(DASH);
256             cmd.append(key.trim());
257             cmd.append(SPACE);
258         }
259         
260         key = ""+" "+""+" "+"via-shimple";
261         value = settings.getBoolean(key.trim());
262         
263         boolDefault = false;
264         
265         
266         if (value != boolDefault) {
267             cmd.append(DASH);
268             cmd.append(key.trim());
269             cmd.append(SPACE);
270         }
271         
272         key = ""+" "+""+" "+"process-path";
273         
274         path = settings.get(key.trim());
275         if ((path != null) && (path.length() != 0)) {
276
277             StringTokenizer st = new StringTokenizer(path);
278             while (st.hasMoreTokens()) {
279             
280                 cmd.append(DASH);
281                 cmd.append(key.trim());
282                 cmd.append(SPACE);
283                 cmd.append(st.nextToken());
284                 cmd.append(SPACE);
285             }
286         }
287         
288         key = ""+" "+""+" "+"a";
289         value = settings.getBoolean(key.trim());
290         
291         boolDefault = false;
292         
293         
294         if (value != boolDefault) {
295             cmd.append(DASH);
296             cmd.append(key.trim());
297             cmd.append(SPACE);
298         }
299         
300         key = ""+" "+""+" "+"i";
301         
302         path = settings.get(key.trim());
303         if ((path != null) && (path.length() != 0)) {
304
305             StringTokenizer st = new StringTokenizer(path);
306             while (st.hasMoreTokens()) {
307             
308                 cmd.append(DASH);
309                 cmd.append(key.trim());
310                 cmd.append(SPACE);
311                 cmd.append(st.nextToken());
312                 cmd.append(SPACE);
313             }
314         }
315         
316         key = ""+" "+""+" "+"x";
317         
318         path = settings.get(key.trim());
319         if ((path != null) && (path.length() != 0)) {
320
321             StringTokenizer st = new StringTokenizer(path);
322             while (st.hasMoreTokens()) {
323             
324                 cmd.append(DASH);
325                 cmd.append(key.trim());
326                 cmd.append(SPACE);
327                 cmd.append(st.nextToken());
328                 cmd.append(SPACE);
329             }
330         }
331         
332         key = ""+" "+""+" "+"dynamic-classes";
333         
334         path = settings.get(key.trim());
335         if ((path != null) && (path.length() != 0)) {
336
337             StringTokenizer st = new StringTokenizer(path);
338             while (st.hasMoreTokens()) {
339             
340                 cmd.append(DASH);
341                 cmd.append(key.trim());
342                 cmd.append(SPACE);
343                 cmd.append(st.nextToken());
344                 cmd.append(SPACE);
345             }
346         }
347         
348         key = ""+" "+""+" "+"dynamic-path";
349         
350         path = settings.get(key.trim());
351         if ((path != null) && (path.length() != 0)) {
352
353             StringTokenizer st = new StringTokenizer(path);
354             while (st.hasMoreTokens()) {
355             
356                 cmd.append(DASH);
357                 cmd.append(key.trim());
358                 cmd.append(SPACE);
359                 cmd.append(st.nextToken());
360                 cmd.append(SPACE);
361             }
362         }
363         
364         key = ""+" "+""+" "+"dynamic-package";
365         
366         path = settings.get(key.trim());
367         if ((path != null) && (path.length() != 0)) {
368
369             StringTokenizer st = new StringTokenizer(path);
370             while (st.hasMoreTokens()) {
371             
372                 cmd.append(DASH);
373                 cmd.append(key.trim());
374                 cmd.append(SPACE);
375                 cmd.append(st.nextToken());
376                 cmd.append(SPACE);
377             }
378         }
379         
380         key = ""+" "+""+" "+"keep-line-number";
381         value = settings.getBoolean(key.trim());
382         
383         boolDefault = false;
384         
385         
386         if (value != boolDefault) {
387             cmd.append(DASH);
388             cmd.append(key.trim());
389             cmd.append(SPACE);
390         }
391         
392         key = ""+" "+""+" "+"keep-bytecode-offset";
393         value = settings.getBoolean(key.trim());
394         
395         boolDefault = false;
396         
397         
398         if (value != boolDefault) {
399             cmd.append(DASH);
400             cmd.append(key.trim());
401             cmd.append(SPACE);
402         }
403         
404         key = ""+" "+""+" "+"annot-nullpointer";
405         value = settings.getBoolean(key.trim());
406         
407         boolDefault = false;
408         
409         
410         if (value != boolDefault) {
411             cmd.append(DASH);
412             cmd.append(key.trim());
413             cmd.append(SPACE);
414         }
415         
416         key = ""+" "+""+" "+"annot-arraybounds";
417         value = settings.getBoolean(key.trim());
418         
419         boolDefault = false;
420         
421         
422         if (value != boolDefault) {
423             cmd.append(DASH);
424             cmd.append(key.trim());
425             cmd.append(SPACE);
426         }
427         
428         key = ""+" "+""+" "+"time";
429         value = settings.getBoolean(key.trim());
430         
431         boolDefault = false;
432         
433         
434         if (value != boolDefault) {
435             cmd.append(DASH);
436             cmd.append(key.trim());
437             cmd.append(SPACE);
438         }
439         
440         key = ""+" "+""+" "+"subtract-gc";
441         value = settings.getBoolean(key.trim());
442         
443         boolDefault = false;
444         
445         
446         if (value != boolDefault) {
447             cmd.append(DASH);
448             cmd.append(key.trim());
449             cmd.append(SPACE);
450         }
451         
452         key = "p"+" "+"jb"+" "+"disabled";
453         value = settings.getBoolean(key.trim());
454         
455         boolDefault = false;
456         
457         
458         if (value != boolDefault ) {
459             cmd.append(DASH);
460             cmd.append(key.trim());
461             cmd.append(SPACE);
462         }
463         
464         key = "p"+" "+"jb"+" "+"no-splitting";
465         value = settings.getBoolean(key.trim());
466         
467         boolDefault = false;
468         
469         
470         if (value != boolDefault ) {
471             cmd.append(DASH);
472             cmd.append(key.trim());
473             cmd.append(SPACE);
474         }
475         
476         key = "p"+" "+"jb"+" "+"no-typing";
477         value = settings.getBoolean(key.trim());
478         
479         boolDefault = false;
480         
481         
482         if (value != boolDefault ) {
483             cmd.append(DASH);
484             cmd.append(key.trim());
485             cmd.append(SPACE);
486         }
487         
488         key = "p"+" "+"jb"+" "+"aggregate-all-locals";
489         value = settings.getBoolean(key.trim());
490         
491         boolDefault = false;
492         
493         
494         if (value != boolDefault ) {
495             cmd.append(DASH);
496             cmd.append(key.trim());
497             cmd.append(SPACE);
498         }
499         
500         key = "p"+" "+"jb"+" "+"no-aggregating";
501         value = settings.getBoolean(key.trim());
502         
503         boolDefault = false;
504         
505         
506         if (value != boolDefault ) {
507             cmd.append(DASH);
508             cmd.append(key.trim());
509             cmd.append(SPACE);
510         }
511         
512         key = "p"+" "+"jb"+" "+"use-original-names";
513         value = settings.getBoolean(key.trim());
514         
515         boolDefault = false;
516         
517         
518         if (value != boolDefault ) {
519             cmd.append(DASH);
520             cmd.append(key.trim());
521             cmd.append(SPACE);
522         }
523         
524         key = "p"+" "+"jb"+" "+"pack-locals";
525         value = settings.getBoolean(key.trim());
526         
527         boolDefault = false;
528         
529         
530         if (value != boolDefault ) {
531             cmd.append(DASH);
532             cmd.append(key.trim());
533             cmd.append(SPACE);
534         }
535         
536         key = "p"+" "+"jb"+" "+"no-cp";
537         value = settings.getBoolean(key.trim());
538         
539         boolDefault = false;
540         
541         
542         if (value != boolDefault ) {
543             cmd.append(DASH);
544             cmd.append(key.trim());
545             cmd.append(SPACE);
546         }
547         
548         key = "p"+" "+"jb"+" "+"no-nop-elimination";
549         value = settings.getBoolean(key.trim());
550         
551         boolDefault = false;
552         
553         
554         if (value != boolDefault ) {
555             cmd.append(DASH);
556             cmd.append(key.trim());
557             cmd.append(SPACE);
558         }
559         
560         key = "p"+" "+"jb"+" "+"no-unreachable-code-elimination";
561         value = settings.getBoolean(key.trim());
562         
563         boolDefault = false;
564         
565         
566         if (value != boolDefault ) {
567             cmd.append(DASH);
568             cmd.append(key.trim());
569             cmd.append(SPACE);
570         }
571         
572         key = "p"+" "+"jb"+" "+"verbatim";
573         value = settings.getBoolean(key.trim());
574         
575         boolDefault = false;
576         
577         
578         if (value != boolDefault ) {
579             cmd.append(DASH);
580             cmd.append(key.trim());
581             cmd.append(SPACE);
582         }
583         
584         key = "p"+" "+"jb.asv"+" "+"disabled";
585         value = settings.getBoolean(key.trim());
586         
587         boolDefault = false;
588         
589         
590         if (value != boolDefault ) {
591             cmd.append(DASH);
592             cmd.append(key.trim());
593             cmd.append(SPACE);
594         }
595         
596         key = "p"+" "+"jb.asv"+" "+"only-stack-locals";
597         value = settings.getBoolean(key.trim());
598         
599         boolDefault = true;
600         
601         
602         if (value != boolDefault ) {
603             cmd.append(DASH);
604             cmd.append(key.trim());
605             cmd.append(SPACE);
606         }
607         
608         key = "p"+" "+"jb.ulp"+" "+"disabled";
609         value = settings.getBoolean(key.trim());
610         
611         boolDefault = false;
612         
613         
614         if (value != boolDefault ) {
615             cmd.append(DASH);
616             cmd.append(key.trim());
617             cmd.append(SPACE);
618         }
619         
620         key = "p"+" "+"jb.ulp"+" "+"unsplit-original-locals";
621         value = settings.getBoolean(key.trim());
622         
623         boolDefault = true;
624         
625         
626         if (value != boolDefault ) {
627             cmd.append(DASH);
628             cmd.append(key.trim());
629             cmd.append(SPACE);
630         }
631         
632         key = "p"+" "+"jb.lns"+" "+"disabled";
633         value = settings.getBoolean(key.trim());
634         
635         boolDefault = false;
636         
637         
638         if (value != boolDefault ) {
639             cmd.append(DASH);
640             cmd.append(key.trim());
641             cmd.append(SPACE);
642         }
643         
644         key = "p"+" "+"jb.lns"+" "+"only-stack-locals";
645         value = settings.getBoolean(key.trim());
646         
647         boolDefault = false;
648         
649         
650         if (value != boolDefault ) {
651             cmd.append(DASH);
652             cmd.append(key.trim());
653             cmd.append(SPACE);
654         }
655         
656         key = "p"+" "+"jb.cp"+" "+"disabled";
657         value = settings.getBoolean(key.trim());
658         
659         boolDefault = false;
660         
661         
662         if (value != boolDefault ) {
663             cmd.append(DASH);
664             cmd.append(key.trim());
665             cmd.append(SPACE);
666         }
667         
668         key = "p"+" "+"jb.cp"+" "+"only-regular-locals";
669         value = settings.getBoolean(key.trim());
670         
671         boolDefault = false;
672         
673         
674         if (value != boolDefault ) {
675             cmd.append(DASH);
676             cmd.append(key.trim());
677             cmd.append(SPACE);
678         }
679         
680         key = "p"+" "+"jb.cp"+" "+"only-stack-locals";
681         value = settings.getBoolean(key.trim());
682         
683         boolDefault = true;
684         
685         
686         if (value != boolDefault ) {
687             cmd.append(DASH);
688             cmd.append(key.trim());
689             cmd.append(SPACE);
690         }
691         
692         key = "p"+" "+"jb.dae"+" "+"disabled";
693         value = settings.getBoolean(key.trim());
694         
695         boolDefault = false;
696         
697         
698         if (value != boolDefault ) {
699             cmd.append(DASH);
700             cmd.append(key.trim());
701             cmd.append(SPACE);
702         }
703         
704         key = "p"+" "+"jb.dae"+" "+"only-stack-locals";
705         value = settings.getBoolean(key.trim());
706         
707         boolDefault = true;
708         
709         
710         if (value != boolDefault ) {
711             cmd.append(DASH);
712             cmd.append(key.trim());
713             cmd.append(SPACE);
714         }
715         
716         key = "p"+" "+"jb.ls"+" "+"disabled";
717         value = settings.getBoolean(key.trim());
718         
719         boolDefault = false;
720         
721         
722         if (value != boolDefault ) {
723             cmd.append(DASH);
724             cmd.append(key.trim());
725             cmd.append(SPACE);
726         }
727         
728         key = "p"+" "+"jb.a"+" "+"disabled";
729         value = settings.getBoolean(key.trim());
730         
731         boolDefault = false;
732         
733         
734         if (value != boolDefault ) {
735             cmd.append(DASH);
736             cmd.append(key.trim());
737             cmd.append(SPACE);
738         }
739         
740         key = "p"+" "+"jb.a"+" "+"only-stack-locals";
741         value = settings.getBoolean(key.trim());
742         
743         boolDefault = false;
744         
745         
746         if (value != boolDefault ) {
747             cmd.append(DASH);
748             cmd.append(key.trim());
749             cmd.append(SPACE);
750         }
751         
752         key = "p"+" "+"jb.ule"+" "+"disabled";
753         value = settings.getBoolean(key.trim());
754         
755         boolDefault = false;
756         
757         
758         if (value != boolDefault ) {
759             cmd.append(DASH);
760             cmd.append(key.trim());
761             cmd.append(SPACE);
762         }
763         
764         key = "p"+" "+"jb.tr"+" "+"disabled";
765         value = settings.getBoolean(key.trim());
766         
767         boolDefault = false;
768         
769         
770         if (value != boolDefault ) {
771             cmd.append(DASH);
772             cmd.append(key.trim());
773             cmd.append(SPACE);
774         }
775         
776         key = "p"+" "+"jb.cp-ule"+" "+"disabled";
777         value = settings.getBoolean(key.trim());
778         
779         boolDefault = false;
780         
781         
782         if (value != boolDefault ) {
783             cmd.append(DASH);
784             cmd.append(key.trim());
785             cmd.append(SPACE);
786         }
787         
788         key = "p"+" "+"jb.lp"+" "+"disabled";
789         value = settings.getBoolean(key.trim());
790         
791         boolDefault = false;
792         
793         
794         if (value != boolDefault ) {
795             cmd.append(DASH);
796             cmd.append(key.trim());
797             cmd.append(SPACE);
798         }
799         
800         key = "p"+" "+"jb.lp"+" "+"unsplit-original-locals";
801         value = settings.getBoolean(key.trim());
802         
803         boolDefault = false;
804         
805         
806         if (value != boolDefault ) {
807             cmd.append(DASH);
808             cmd.append(key.trim());
809             cmd.append(SPACE);
810         }
811         
812         key = "p"+" "+"jb.ne"+" "+"disabled";
813         value = settings.getBoolean(key.trim());
814         
815         boolDefault = false;
816         
817         
818         if (value != boolDefault ) {
819             cmd.append(DASH);
820             cmd.append(key.trim());
821             cmd.append(SPACE);
822         }
823         
824         key = "p"+" "+"jb.uce"+" "+"disabled";
825         value = settings.getBoolean(key.trim());
826         
827         boolDefault = false;
828         
829         
830         if (value != boolDefault ) {
831             cmd.append(DASH);
832             cmd.append(key.trim());
833             cmd.append(SPACE);
834         }
835         
836         key = "p"+" "+"cg"+" "+"disabled";
837         value = settings.getBoolean(key.trim());
838         
839         boolDefault = false;
840         
841         
842         if (value != boolDefault ) {
843             cmd.append(DASH);
844             cmd.append(key.trim());
845             cmd.append(SPACE);
846         }
847         
848         key = "p"+" "+"cg.oldcha"+" "+"disabled";
849         value = settings.getBoolean(key.trim());
850         
851         boolDefault = true;
852         
853         
854         if (value != boolDefault ) {
855             cmd.append(DASH);
856             cmd.append(key.trim());
857             cmd.append(SPACE);
858         }
859         
860         key = "p"+" "+"cg.vta"+" "+"disabled";
861         value = settings.getBoolean(key.trim());
862         
863         boolDefault = true;
864         
865         
866         if (value != boolDefault ) {
867             cmd.append(DASH);
868             cmd.append(key.trim());
869             cmd.append(SPACE);
870         }
871         
872         key = "p"+" "+"cg.vta"+" "+"passes";
873         
874         
875         defaultVal = "1";
876         
877                 
878         
879         path = settings.get(key.trim());
880         if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal)) ) {
881             cmd.append(DASH);
882             cmd.append(key.trim());
883             cmd.append(COLON);
884             cmd.append(path);
885             cmd.append(SPACE);
886         }
887         
888         key = "p"+" "+"cg.cha"+" "+"disabled";
889         value = settings.getBoolean(key.trim());
890         
891         boolDefault = true;
892         
893         
894         if (value != boolDefault ) {
895             cmd.append(DASH);
896             cmd.append(key.trim());
897             cmd.append(SPACE);
898         }
899         
900         key = "p"+" "+"cg.cha"+" "+"verbose";
901         value = settings.getBoolean(key.trim());
902         
903         boolDefault = false;
904         
905         
906         if (value != boolDefault ) {
907             cmd.append(DASH);
908             cmd.append(key.trim());
909             cmd.append(SPACE);
910         }
911         
912         key = "p"+" "+"cg.spark"+" "+"disabled";
913         value = settings.getBoolean(key.trim());
914         
915         boolDefault = true;
916         
917         
918         if (value != boolDefault ) {
919             cmd.append(DASH);
920             cmd.append(key.trim());
921             cmd.append(SPACE);
922         }
923         
924         key = "p"+" "+"cg.spark"+" "+"verbose";
925         value = settings.getBoolean(key.trim());
926         
927         boolDefault = false;
928         
929         
930         if (value != boolDefault ) {
931             cmd.append(DASH);
932             cmd.append(key.trim());
933             cmd.append(SPACE);
934         }
935         
936         key = "p"+" "+"cg.spark"+" "+"ignore-types";
937         value = settings.getBoolean(key.trim());
938         
939         boolDefault = false;
940         
941         
942         if (value != boolDefault ) {
943             cmd.append(DASH);
944             cmd.append(key.trim());
945             cmd.append(SPACE);
946         }
947         
948         key = "p"+" "+"cg.spark"+" "+"force-gc";
949         value = settings.getBoolean(key.trim());
950         
951         boolDefault = false;
952         
953         
954         if (value != boolDefault ) {
955             cmd.append(DASH);
956             cmd.append(key.trim());
957             cmd.append(SPACE);
958         }
959         
960         key = "p"+" "+"cg.spark"+" "+"pre-jimplify";
961         value = settings.getBoolean(key.trim());
962         
963         boolDefault = false;
964         
965         
966         if (value != boolDefault ) {
967             cmd.append(DASH);
968             cmd.append(key.trim());
969             cmd.append(SPACE);
970         }
971         
972         key = "p"+" "+"cg.spark"+" "+"vta";
973         value = settings.getBoolean(key.trim());
974         
975         boolDefault = false;
976         
977         
978         if (value != boolDefault ) {
979             cmd.append(DASH);
980             cmd.append(key.trim());
981             cmd.append(SPACE);
982         }
983         
984         key = "p"+" "+"cg.spark"+" "+"rta";
985         value = settings.getBoolean(key.trim());
986         
987         boolDefault = false;
988         
989         
990         if (value != boolDefault ) {
991             cmd.append(DASH);
992             cmd.append(key.trim());
993             cmd.append(SPACE);
994         }
995         
996         key = "p"+" "+"cg.spark"+" "+"field-based";
997         value = settings.getBoolean(key.trim());
998         
999         boolDefault = false;
1000        
1001        
1002        if (value != boolDefault ) {
1003            cmd.append(DASH);
1004            cmd.append(key.trim());
1005            cmd.append(SPACE);
1006        }
1007        
1008        key = "p"+" "+"cg.spark"+" "+"types-for-sites";
1009        value = settings.getBoolean(key.trim());
1010        
1011        boolDefault = false;
1012        
1013        
1014        if (value != boolDefault ) {
1015            cmd.append(DASH);
1016            cmd.append(key.trim());
1017            cmd.append(SPACE);
1018        }
1019        
1020        key = "p"+" "+"cg.spark"+" "+"merge-stringbuffer";
1021        value = settings.getBoolean(key.trim());
1022        
1023        boolDefault = true;
1024        
1025        
1026        if (value != boolDefault ) {
1027            cmd.append(DASH);
1028            cmd.append(key.trim());
1029            cmd.append(SPACE);
1030        }
1031        
1032        key = "p"+" "+"cg.spark"+" "+"simulate-natives";
1033        value = settings.getBoolean(key.trim());
1034        
1035        boolDefault = true;
1036        
1037        
1038        if (value != boolDefault ) {
1039            cmd.append(DASH);
1040            cmd.append(key.trim());
1041            cmd.append(SPACE);
1042        }
1043        
1044        key = "p"+" "+"cg.spark"+" "+"simple-edges-bidirectional";
1045        value = settings.getBoolean(key.trim());
1046        
1047        boolDefault = false;
1048        
1049        
1050        if (value != boolDefault ) {
1051            cmd.append(DASH);
1052            cmd.append(key.trim());
1053            cmd.append(SPACE);
1054        }
1055        
1056        key = "p"+" "+"cg.spark"+" "+"on-fly-cg";
1057        value = settings.getBoolean(key.trim());
1058        
1059        boolDefault = false;
1060        
1061        
1062        if (value != boolDefault ) {
1063            cmd.append(DASH);
1064            cmd.append(key.trim());
1065            cmd.append(SPACE);
1066        }
1067        
1068        key = "p"+" "+"cg.spark"+" "+"parms-as-fields";
1069        value = settings.getBoolean(key.trim());
1070        
1071        boolDefault = false;
1072        
1073        
1074        if (value != boolDefault ) {
1075            cmd.append(DASH);
1076            cmd.append(key.trim());
1077            cmd.append(SPACE);
1078        }
1079        
1080        key = "p"+" "+"cg.spark"+" "+"returns-as-fields";
1081        value = settings.getBoolean(key.trim());
1082        
1083        boolDefault = false;
1084        
1085        
1086        if (value != boolDefault ) {
1087            cmd.append(DASH);
1088            cmd.append(key.trim());
1089            cmd.append(SPACE);
1090        }
1091        
1092        key = "p"+" "+"cg.spark"+" "+"simplify-offline";
1093        value = settings.getBoolean(key.trim());
1094        
1095        boolDefault = false;
1096        
1097        
1098        if (value != boolDefault ) {
1099            cmd.append(DASH);
1100            cmd.append(key.trim());
1101            cmd.append(SPACE);
1102        }
1103        
1104        key = "p"+" "+"cg.spark"+" "+"simplify-sccs";
1105        value = settings.getBoolean(key.trim());
1106        
1107        boolDefault = false;
1108        
1109        
1110        if (value != boolDefault ) {
1111            cmd.append(DASH);
1112            cmd.append(key.trim());
1113            cmd.append(SPACE);
1114        }
1115        
1116        key = "p"+" "+"cg.spark"+" "+"ignore-types-for-sccs";
1117        value = settings.getBoolean(key.trim());
1118        
1119        boolDefault = false;
1120        
1121        
1122        if (value != boolDefault ) {
1123            cmd.append(DASH);
1124            cmd.append(key.trim());
1125            cmd.append(SPACE);
1126        }
1127         
1128        key = "p"+" "+"cg.spark"+" "+"propagator";
1129        path = settings.get(key.trim());
1130        
1131        defaultVal = "worklist";
1132        
1133        
1134        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
1135            cmd.append(DASH);
1136            cmd.append(key.trim());
1137            cmd.append(COLON);
1138            cmd.append(path);
1139            cmd.append(SPACE);
1140        }
1141         
1142        key = "p"+" "+"cg.spark"+" "+"set-impl";
1143        path = settings.get(key.trim());
1144        
1145        defaultVal = "double";
1146        
1147        
1148        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
1149            cmd.append(DASH);
1150            cmd.append(key.trim());
1151            cmd.append(COLON);
1152            cmd.append(path);
1153            cmd.append(SPACE);
1154        }
1155         
1156        key = "p"+" "+"cg.spark"+" "+"double-set-old";
1157        path = settings.get(key.trim());
1158        
1159        defaultVal = "hybrid";
1160        
1161        
1162        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
1163            cmd.append(DASH);
1164            cmd.append(key.trim());
1165            cmd.append(COLON);
1166            cmd.append(path);
1167            cmd.append(SPACE);
1168        }
1169         
1170        key = "p"+" "+"cg.spark"+" "+"double-set-new";
1171        path = settings.get(key.trim());
1172        
1173        defaultVal = "hybrid";
1174        
1175        
1176        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
1177            cmd.append(DASH);
1178            cmd.append(key.trim());
1179            cmd.append(COLON);
1180            cmd.append(path);
1181            cmd.append(SPACE);
1182        }
1183        
1184        key = "p"+" "+"cg.spark"+" "+"dump-html";
1185        value = settings.getBoolean(key.trim());
1186        
1187        boolDefault = false;
1188        
1189        
1190        if (value != boolDefault ) {
1191            cmd.append(DASH);
1192            cmd.append(key.trim());
1193            cmd.append(SPACE);
1194        }
1195        
1196        key = "p"+" "+"cg.spark"+" "+"dump-pag";
1197        value = settings.getBoolean(key.trim());
1198        
1199        boolDefault = false;
1200        
1201        
1202        if (value != boolDefault ) {
1203            cmd.append(DASH);
1204            cmd.append(key.trim());
1205            cmd.append(SPACE);
1206        }
1207        
1208        key = "p"+" "+"cg.spark"+" "+"dump-solution";
1209        value = settings.getBoolean(key.trim());
1210        
1211        boolDefault = false;
1212        
1213        
1214        if (value != boolDefault ) {
1215            cmd.append(DASH);
1216            cmd.append(key.trim());
1217            cmd.append(SPACE);
1218        }
1219        
1220        key = "p"+" "+"cg.spark"+" "+"topo-sort";
1221        value = settings.getBoolean(key.trim());
1222        
1223        boolDefault = false;
1224        
1225        
1226        if (value != boolDefault ) {
1227            cmd.append(DASH);
1228            cmd.append(key.trim());
1229            cmd.append(SPACE);
1230        }
1231        
1232        key = "p"+" "+"cg.spark"+" "+"dump-types";
1233        value = settings.getBoolean(key.trim());
1234        
1235        boolDefault = true;
1236        
1237        
1238        if (value != boolDefault ) {
1239            cmd.append(DASH);
1240            cmd.append(key.trim());
1241            cmd.append(SPACE);
1242        }
1243        
1244        key = "p"+" "+"cg.spark"+" "+"class-method-var";
1245        value = settings.getBoolean(key.trim());
1246        
1247        boolDefault = true;
1248        
1249        
1250        if (value != boolDefault ) {
1251            cmd.append(DASH);
1252            cmd.append(key.trim());
1253            cmd.append(SPACE);
1254        }
1255        
1256        key = "p"+" "+"cg.spark"+" "+"dump-answer";
1257        value = settings.getBoolean(key.trim());
1258        
1259        boolDefault = false;
1260        
1261        
1262        if (value != boolDefault ) {
1263            cmd.append(DASH);
1264            cmd.append(key.trim());
1265            cmd.append(SPACE);
1266        }
1267        
1268        key = "p"+" "+"cg.spark"+" "+"trim-invoke-graph";
1269        value = settings.getBoolean(key.trim());
1270        
1271        boolDefault = true;
1272        
1273        
1274        if (value != boolDefault ) {
1275            cmd.append(DASH);
1276            cmd.append(key.trim());
1277            cmd.append(SPACE);
1278        }
1279        
1280        key = "p"+" "+"cg.spark"+" "+"add-tags";
1281        value = settings.getBoolean(key.trim());
1282        
1283        boolDefault = false;
1284        
1285        
1286        if (value != boolDefault ) {
1287            cmd.append(DASH);
1288            cmd.append(key.trim());
1289            cmd.append(SPACE);
1290        }
1291        
1292        key = "p"+" "+"wstp"+" "+"disabled";
1293        value = settings.getBoolean(key.trim());
1294        
1295        boolDefault = false;
1296        
1297        
1298        if (value != boolDefault ) {
1299            cmd.append(DASH);
1300            cmd.append(key.trim());
1301            cmd.append(SPACE);
1302        }
1303        
1304        key = "p"+" "+"wsop"+" "+"disabled";
1305        value = settings.getBoolean(key.trim());
1306        
1307        boolDefault = false;
1308        
1309        
1310        if (value != boolDefault ) {
1311            cmd.append(DASH);
1312            cmd.append(key.trim());
1313            cmd.append(SPACE);
1314        }
1315        
1316        key = "p"+" "+"wjtp"+" "+"disabled";
1317        value = settings.getBoolean(key.trim());
1318        
1319        boolDefault = true;
1320        
1321        
1322        if (value != boolDefault ) {
1323            cmd.append(DASH);
1324            cmd.append(key.trim());
1325            cmd.append(SPACE);
1326        }
1327        
1328        key = "p"+" "+"wjop"+" "+"disabled";
1329        value = settings.getBoolean(key.trim());
1330        
1331        boolDefault = true;
1332        
1333        
1334        if (value != boolDefault ) {
1335            cmd.append(DASH);
1336            cmd.append(key.trim());
1337            cmd.append(SPACE);
1338        }
1339        
1340        key = "p"+" "+"wjop.smb"+" "+"disabled";
1341        value = settings.getBoolean(key.trim());
1342        
1343        boolDefault = true;
1344        
1345        
1346        if (value != boolDefault ) {
1347            cmd.append(DASH);
1348            cmd.append(key.trim());
1349            cmd.append(SPACE);
1350        }
1351        
1352        key = "p"+" "+"wjop.smb"+" "+"insert-null-checks";
1353        value = settings.getBoolean(key.trim());
1354        
1355        boolDefault = true;
1356        
1357        
1358        if (value != boolDefault ) {
1359            cmd.append(DASH);
1360            cmd.append(key.trim());
1361            cmd.append(SPACE);
1362        }
1363        
1364        key = "p"+" "+"wjop.smb"+" "+"insert-redundant-casts";
1365        value = settings.getBoolean(key.trim());
1366        
1367        boolDefault = true;
1368        
1369        
1370        if (value != boolDefault ) {
1371            cmd.append(DASH);
1372            cmd.append(key.trim());
1373            cmd.append(SPACE);
1374        }
1375         
1376        key = "p"+" "+"wjop.smb"+" "+"allowed-modifier-changes";
1377        path = settings.get(key.trim());
1378        
1379        defaultVal = "unsafe";
1380        
1381        
1382        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
1383            cmd.append(DASH);
1384            cmd.append(key.trim());
1385            cmd.append(COLON);
1386            cmd.append(path);
1387            cmd.append(SPACE);
1388        }
1389        
1390        key = "p"+" "+"wjop.si"+" "+"disabled";
1391        value = settings.getBoolean(key.trim());
1392        
1393        boolDefault = false;
1394        
1395        
1396        if (value != boolDefault ) {
1397            cmd.append(DASH);
1398            cmd.append(key.trim());
1399            cmd.append(SPACE);
1400        }
1401        
1402        key = "p"+" "+"wjop.si"+" "+"insert-null-checks";
1403        value = settings.getBoolean(key.trim());
1404        
1405        boolDefault = true;
1406        
1407        
1408        if (value != boolDefault ) {
1409            cmd.append(DASH);
1410            cmd.append(key.trim());
1411            cmd.append(SPACE);
1412        }
1413        
1414        key = "p"+" "+"wjop.si"+" "+"insert-redundant-casts";
1415        value = settings.getBoolean(key.trim());
1416        
1417        boolDefault = true;
1418        
1419        
1420        if (value != boolDefault ) {
1421            cmd.append(DASH);
1422            cmd.append(key.trim());
1423            cmd.append(SPACE);
1424        }
1425        
1426        key = "p"+" "+"wjop.si"+" "+"expansion-factor";
1427        
1428        
1429        defaultVal = "3";
1430        
1431                
1432        
1433        path = settings.get(key.trim());
1434        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal)) ) {
1435            cmd.append(DASH);
1436            cmd.append(key.trim());
1437            cmd.append(COLON);
1438            cmd.append(path);
1439            cmd.append(SPACE);
1440        }
1441        
1442        key = "p"+" "+"wjop.si"+" "+"max-container-size";
1443        
1444        
1445        defaultVal = "5000";
1446        
1447                
1448        
1449        path = settings.get(key.trim());
1450        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal)) ) {
1451            cmd.append(DASH);
1452            cmd.append(key.trim());
1453            cmd.append(COLON);
1454            cmd.append(path);
1455            cmd.append(SPACE);
1456        }
1457        
1458        key = "p"+" "+"wjop.si"+" "+"max-inlinee-size";
1459        
1460        
1461        defaultVal = "20";
1462        
1463                
1464        
1465        path = settings.get(key.trim());
1466        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal)) ) {
1467            cmd.append(DASH);
1468            cmd.append(key.trim());
1469            cmd.append(COLON);
1470            cmd.append(path);
1471            cmd.append(SPACE);
1472        }
1473         
1474        key = "p"+" "+"wjop.si"+" "+"allowed-modifier-changes";
1475        path = settings.get(key.trim());
1476        
1477        defaultVal = "unsafe";
1478        
1479        
1480        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
1481            cmd.append(DASH);
1482            cmd.append(key.trim());
1483            cmd.append(COLON);
1484            cmd.append(path);
1485            cmd.append(SPACE);
1486        }
1487        
1488        key = "p"+" "+"wjtp2"+" "+"disabled";
1489        value = settings.getBoolean(key.trim());
1490        
1491        boolDefault = false;
1492        
1493        
1494        if (value != boolDefault ) {
1495            cmd.append(DASH);
1496            cmd.append(key.trim());
1497            cmd.append(SPACE);
1498        }
1499        
1500        key = "p"+" "+"wjtp2.ra"+" "+"disabled";
1501        value = settings.getBoolean(key.trim());
1502        
1503        boolDefault = true;
1504        
1505        
1506        if (value != boolDefault ) {
1507            cmd.append(DASH);
1508            cmd.append(key.trim());
1509            cmd.append(SPACE);
1510        }
1511        
1512        key = "p"+" "+"stp"+" "+"disabled";
1513        value = settings.getBoolean(key.trim());
1514        
1515        boolDefault = false;
1516        
1517        
1518        if (value != boolDefault ) {
1519            cmd.append(DASH);
1520            cmd.append(key.trim());
1521            cmd.append(SPACE);
1522        }
1523        
1524        key = "p"+" "+"sop"+" "+"disabled";
1525        value = settings.getBoolean(key.trim());
1526        
1527        boolDefault = false;
1528        
1529        
1530        if (value != boolDefault ) {
1531            cmd.append(DASH);
1532            cmd.append(key.trim());
1533            cmd.append(SPACE);
1534        }
1535        
1536        key = "p"+" "+"jtp"+" "+"disabled";
1537        value = settings.getBoolean(key.trim());
1538        
1539        boolDefault = false;
1540        
1541        
1542        if (value != boolDefault ) {
1543            cmd.append(DASH);
1544            cmd.append(key.trim());
1545            cmd.append(SPACE);
1546        }
1547        
1548        key = "p"+" "+"jop"+" "+"disabled";
1549        value = settings.getBoolean(key.trim());
1550        
1551        boolDefault = false;
1552        
1553        
1554        if (value != boolDefault ) {
1555            cmd.append(DASH);
1556            cmd.append(key.trim());
1557            cmd.append(SPACE);
1558        }
1559        
1560        key = "p"+" "+"jop.cse"+" "+"disabled";
1561        value = settings.getBoolean(key.trim());
1562        
1563        boolDefault = true;
1564        
1565        
1566        if (value != boolDefault ) {
1567            cmd.append(DASH);
1568            cmd.append(key.trim());
1569            cmd.append(SPACE);
1570        }
1571        
1572        key = "p"+" "+"jop.cse"+" "+"naive-side-effect";
1573        value = settings.getBoolean(key.trim());
1574        
1575        boolDefault = false;
1576        
1577        
1578        if (value != boolDefault ) {
1579            cmd.append(DASH);
1580            cmd.append(key.trim());
1581            cmd.append(SPACE);
1582        }
1583        
1584        key = "p"+" "+"jop.bcm"+" "+"disabled";
1585        value = settings.getBoolean(key.trim());
1586        
1587        boolDefault = true;
1588        
1589        
1590        if (value != boolDefault ) {
1591            cmd.append(DASH);
1592            cmd.append(key.trim());
1593            cmd.append(SPACE);
1594        }
1595        
1596        key = "p"+" "+"jop.bcm"+" "+"naive-side-effect";
1597        value = settings.getBoolean(key.trim());
1598        
1599        boolDefault = false;
1600        
1601        
1602        if (value != boolDefault ) {
1603            cmd.append(DASH);
1604            cmd.append(key.trim());
1605            cmd.append(SPACE);
1606        }
1607        
1608        key = "p"+" "+"jop.lcm"+" "+"disabled";
1609        value = settings.getBoolean(key.trim());
1610        
1611        boolDefault = true;
1612        
1613        
1614        if (value != boolDefault ) {
1615            cmd.append(DASH);
1616            cmd.append(key.trim());
1617            cmd.append(SPACE);
1618        }
1619        
1620        key = "p"+" "+"jop.lcm"+" "+"unroll";
1621        value = settings.getBoolean(key.trim());
1622        
1623        boolDefault = true;
1624        
1625        
1626        if (value != boolDefault ) {
1627            cmd.append(DASH);
1628            cmd.append(key.trim());
1629            cmd.append(SPACE);
1630        }
1631        
1632        key = "p"+" "+"jop.lcm"+" "+"naive-side-effect";
1633        value = settings.getBoolean(key.trim());
1634        
1635        boolDefault = false;
1636        
1637        
1638        if (value != boolDefault ) {
1639            cmd.append(DASH);
1640            cmd.append(key.trim());
1641            cmd.append(SPACE);
1642        }
1643         
1644        key = "p"+" "+"jop.lcm"+" "+"safe";
1645        path = settings.get(key.trim());
1646        
1647        defaultVal = "safe";
1648        
1649        
1650        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal))) {
1651            cmd.append(DASH);
1652            cmd.append(key.trim());
1653            cmd.append(COLON);
1654            cmd.append(path);
1655            cmd.append(SPACE);
1656        }
1657        
1658        key = "p"+" "+"jop.cp"+" "+"disabled";
1659        value = settings.getBoolean(key.trim());
1660        
1661        boolDefault = false;
1662        
1663        
1664        if (value != boolDefault ) {
1665            cmd.append(DASH);
1666            cmd.append(key.trim());
1667            cmd.append(SPACE);
1668        }
1669        
1670        key = "p"+" "+"jop.cp"+" "+"only-regular-locals";
1671        value = settings.getBoolean(key.trim());
1672        
1673        boolDefault = false;
1674        
1675        
1676        if (value != boolDefault ) {
1677            cmd.append(DASH);
1678            cmd.append(key.trim());
1679            cmd.append(SPACE);
1680        }
1681        
1682        key = "p"+" "+"jop.cp"+" "+"only-stack-locals";
1683        value = settings.getBoolean(key.trim());
1684        
1685        boolDefault = false;
1686        
1687        
1688        if (value != boolDefault ) {
1689            cmd.append(DASH);
1690            cmd.append(key.trim());
1691            cmd.append(SPACE);
1692        }
1693        
1694        key = "p"+" "+"jop.cpf"+" "+"disabled";
1695        value = settings.getBoolean(key.trim());
1696        
1697        boolDefault = false;
1698        
1699        
1700        if (value != boolDefault ) {
1701            cmd.append(DASH);
1702            cmd.append(key.trim());
1703            cmd.append(SPACE);
1704        }
1705        
1706        key = "p"+" "+"jop.cbf"+" "+"disabled";
1707        value = settings.getBoolean(key.trim());
1708        
1709        boolDefault = false;
1710        
1711        
1712        if (value != boolDefault ) {
1713            cmd.append(DASH);
1714            cmd.append(key.trim());
1715            cmd.append(SPACE);
1716        }
1717        
1718        key = "p"+" "+"jop.dae"+" "+"disabled";
1719        value = settings.getBoolean(key.trim());
1720        
1721        boolDefault = false;
1722        
1723        
1724        if (value != boolDefault ) {
1725            cmd.append(DASH);
1726            cmd.append(key.trim());
1727            cmd.append(SPACE);
1728        }
1729        
1730        key = "p"+" "+"jop.dae"+" "+"only-stack-locals";
1731        value = settings.getBoolean(key.trim());
1732        
1733        boolDefault = false;
1734        
1735        
1736        if (value != boolDefault ) {
1737            cmd.append(DASH);
1738            cmd.append(key.trim());
1739            cmd.append(SPACE);
1740        }
1741        
1742        key = "p"+" "+"jop.uce1"+" "+"disabled";
1743        value = settings.getBoolean(key.trim());
1744        
1745        boolDefault = false;
1746        
1747        
1748        if (value != boolDefault ) {
1749            cmd.append(DASH);
1750            cmd.append(key.trim());
1751            cmd.append(SPACE);
1752        }
1753        
1754        key = "p"+" "+"jop.uce2"+" "+"disabled";
1755        value = settings.getBoolean(key.trim());
1756        
1757        boolDefault = false;
1758        
1759        
1760        if (value != boolDefault ) {
1761            cmd.append(DASH);
1762            cmd.append(key.trim());
1763            cmd.append(SPACE);
1764        }
1765        
1766        key = "p"+" "+"jop.ubf1"+" "+"disabled";
1767        value = settings.getBoolean(key.trim());
1768        
1769        boolDefault = false;
1770        
1771        
1772        if (value != boolDefault ) {
1773            cmd.append(DASH);
1774            cmd.append(key.trim());
1775            cmd.append(SPACE);
1776        }
1777        
1778        key = "p"+" "+"jop.ubf2"+" "+"disabled";
1779        value = settings.getBoolean(key.trim());
1780        
1781        boolDefault = false;
1782        
1783        
1784        if (value != boolDefault ) {
1785            cmd.append(DASH);
1786            cmd.append(key.trim());
1787            cmd.append(SPACE);
1788        }
1789        
1790        key = "p"+" "+"jop.ule"+" "+"disabled";
1791        value = settings.getBoolean(key.trim());
1792        
1793        boolDefault = false;
1794        
1795        
1796        if (value != boolDefault ) {
1797            cmd.append(DASH);
1798            cmd.append(key.trim());
1799            cmd.append(SPACE);
1800        }
1801        
1802        key = "p"+" "+"jap"+" "+"disabled";
1803        value = settings.getBoolean(key.trim());
1804        
1805        boolDefault = false;
1806        
1807        
1808        if (value != boolDefault ) {
1809            cmd.append(DASH);
1810            cmd.append(key.trim());
1811            cmd.append(SPACE);
1812        }
1813        
1814        key = "p"+" "+"jap.npc"+" "+"disabled";
1815        value = settings.getBoolean(key.trim());
1816        
1817        boolDefault = true;
1818        
1819        
1820        if (value != boolDefault ) {
1821            cmd.append(DASH);
1822            cmd.append(key.trim());
1823            cmd.append(SPACE);
1824        }
1825        
1826        key = "p"+" "+"jap.npc"+" "+"only-array-ref";
1827        value = settings.getBoolean(key.trim());
1828        
1829        boolDefault = false;
1830        
1831        
1832        if (value != boolDefault ) {
1833            cmd.append(DASH);
1834            cmd.append(key.trim());
1835            cmd.append(SPACE);
1836        }
1837        
1838        key = "p"+" "+"jap.npc"+" "+"profiling";
1839        value = settings.getBoolean(key.trim());
1840        
1841        boolDefault = false;
1842        
1843        
1844        if (value != boolDefault ) {
1845            cmd.append(DASH);
1846            cmd.append(key.trim());
1847            cmd.append(SPACE);
1848        }
1849        
1850        key = "p"+" "+"jap.abc"+" "+"disabled";
1851        value = settings.getBoolean(key.trim());
1852        
1853        boolDefault = true;
1854        
1855        
1856        if (value != boolDefault ) {
1857            cmd.append(DASH);
1858            cmd.append(key.trim());
1859            cmd.append(SPACE);
1860        }
1861        
1862        key = "p"+" "+"jap.abc"+" "+"with-all";
1863        value = settings.getBoolean(key.trim());
1864        
1865        boolDefault = false;
1866        
1867        
1868        if (value != boolDefault ) {
1869            cmd.append(DASH);
1870            cmd.append(key.trim());
1871            cmd.append(SPACE);
1872        }
1873        
1874        key = "p"+" "+"jap.abc"+" "+"with-fieldref";
1875        value = settings.getBoolean(key.trim());
1876        
1877        boolDefault = false;
1878        
1879        
1880        if (value != boolDefault ) {
1881            cmd.append(DASH);
1882            cmd.append(key.trim());
1883            cmd.append(SPACE);
1884        }
1885        
1886        key = "p"+" "+"jap.abc"+" "+"with-arrayref";
1887        value = settings.getBoolean(key.trim());
1888        
1889        boolDefault = false;
1890        
1891        
1892        if (value != boolDefault ) {
1893            cmd.append(DASH);
1894            cmd.append(key.trim());
1895            cmd.append(SPACE);
1896        }
1897        
1898        key = "p"+" "+"jap.abc"+" "+"with-cse";
1899        value = settings.getBoolean(key.trim());
1900        
1901        boolDefault = false;
1902        
1903        
1904        if (value != boolDefault ) {
1905            cmd.append(DASH);
1906            cmd.append(key.trim());
1907            cmd.append(SPACE);
1908        }
1909        
1910        key = "p"+" "+"jap.abc"+" "+"with-classfield";
1911        value = settings.getBoolean(key.trim());
1912        
1913        boolDefault = false;
1914        
1915        
1916        if (value != boolDefault ) {
1917            cmd.append(DASH);
1918            cmd.append(key.trim());
1919            cmd.append(SPACE);
1920        }
1921        
1922        key = "p"+" "+"jap.abc"+" "+"with-rectarray";
1923        value = settings.getBoolean(key.trim());
1924        
1925        boolDefault = false;
1926        
1927        
1928        if (value != boolDefault ) {
1929            cmd.append(DASH);
1930            cmd.append(key.trim());
1931            cmd.append(SPACE);
1932        }
1933        
1934        key = "p"+" "+"jap.abc"+" "+"profiling";
1935        value = settings.getBoolean(key.trim());
1936        
1937        boolDefault = false;
1938        
1939        
1940        if (value != boolDefault ) {
1941            cmd.append(DASH);
1942            cmd.append(key.trim());
1943            cmd.append(SPACE);
1944        }
1945        
1946        key = "p"+" "+"jap.profiling"+" "+"disabled";
1947        value = settings.getBoolean(key.trim());
1948        
1949        boolDefault = true;
1950        
1951        
1952        if (value != boolDefault ) {
1953            cmd.append(DASH);
1954            cmd.append(key.trim());
1955            cmd.append(SPACE);
1956        }
1957        
1958        key = "p"+" "+"jap.profiling"+" "+"notmainentry";
1959        value = settings.getBoolean(key.trim());
1960        
1961        boolDefault = false;
1962        
1963        
1964        if (value != boolDefault ) {
1965            cmd.append(DASH);
1966            cmd.append(key.trim());
1967            cmd.append(SPACE);
1968        }
1969        
1970        key = "p"+" "+"jap.sea"+" "+"disabled";
1971        value = settings.getBoolean(key.trim());
1972        
1973        boolDefault = true;
1974        
1975        
1976        if (value != boolDefault ) {
1977            cmd.append(DASH);
1978            cmd.append(key.trim());
1979            cmd.append(SPACE);
1980        }
1981        
1982        key = "p"+" "+"jap.sea"+" "+"naive";
1983        value = settings.getBoolean(key.trim());
1984        
1985        boolDefault = false;
1986        
1987        
1988        if (value != boolDefault ) {
1989            cmd.append(DASH);
1990            cmd.append(key.trim());
1991            cmd.append(SPACE);
1992        }
1993        
1994        key = "p"+" "+"jap.fieldrw"+" "+"disabled";
1995        value = settings.getBoolean(key.trim());
1996        
1997        boolDefault = true;
1998        
1999        
2000        if (value != boolDefault ) {
2001            cmd.append(DASH);
2002            cmd.append(key.trim());
2003            cmd.append(SPACE);
2004        }
2005        
2006        key = "p"+" "+"jap.fieldrw"+" "+"threshold";
2007        
2008        
2009        defaultVal = "100";
2010        
2011                
2012        
2013        path = settings.get(key.trim());
2014        if ((path != null) && (path.length() != 0) && (!path.equals(defaultVal)) ) {
2015            cmd.append(DASH);
2016            cmd.append(key.trim());
2017            cmd.append(COLON);
2018            cmd.append(path);
2019            cmd.append(SPACE);
2020        }
2021        
2022        key = "p"+" "+"gb"+" "+"disabled";
2023        value = settings.getBoolean(key.trim());
2024        
2025        boolDefault = false;
2026        
2027        
2028        if (value != boolDefault ) {
2029            cmd.append(DASH);
2030            cmd.append(key.trim());
2031            cmd.append(SPACE);
2032        }
2033        
2034        key = "p"+" "+"gb.a1"+" "+"disabled";
2035        value = settings.getBoolean(key.trim());
2036        
2037        boolDefault = false;
2038        
2039        
2040        if (value != boolDefault ) {
2041            cmd.append(DASH);
2042            cmd.append(key.trim());
2043            cmd.append(SPACE);
2044        }
2045        
2046        key = "p"+" "+"gb.a1"+" "+"only-stack-locals";
2047        value = settings.getBoolean(key.trim());
2048        
2049        boolDefault = true;
2050        
2051        
2052        if (value != boolDefault ) {
2053            cmd.append(DASH);
2054            cmd.append(key.trim());
2055            cmd.append(SPACE);
2056        }
2057        
2058        key = "p"+" "+"gb.cf"+" "+"disabled";
2059        value = settings.getBoolean(key.trim());
2060        
2061        boolDefault = false;
2062        
2063        
2064        if (value != boolDefault ) {
2065            cmd.append(DASH);
2066            cmd.append(key.trim());
2067            cmd.append(SPACE);
2068        }
2069        
2070        key = "p"+" "+"gb.a2"+" "+"disabled";
2071        value = settings.getBoolean(key.trim());
2072        
2073        boolDefault = false;
2074        
2075        
2076        if (value != boolDefault ) {
2077            cmd.append(DASH);
2078            cmd.append(key.trim());
2079            cmd.append(SPACE);
2080        }
2081        
2082        key = "p"+" "+"gb.a2"+" "+"only-stack-locals";
2083        value = settings.getBoolean(key.trim());
2084        
2085        boolDefault = true;
2086        
2087        
2088        if (value != boolDefault ) {
2089            cmd.append(DASH);
2090            cmd.append(key.trim());
2091            cmd.append(SPACE);
2092        }
2093        
2094        key = "p"+" "+"gb.ule"+" "+"disabled";
2095        value = settings.getBoolean(key.trim());
2096        
2097        boolDefault = false;
2098        
2099        
2100        if (value != boolDefault ) {
2101            cmd.append(DASH);
2102            cmd.append(key.trim());
2103            cmd.append(SPACE);
2104        }
2105        
2106        key = "p"+" "+"gop"+" "+"disabled";
2107        value = settings.getBoolean(key.trim());
2108        
2109        boolDefault = false;
2110        
2111        
2112        if (value != boolDefault ) {
2113            cmd.append(DASH);
2114            cmd.append(key.trim());
2115            cmd.append(SPACE);
2116        }
2117        
2118        key = "p"+" "+"bb"+" "+"disabled";
2119        value = settings.getBoolean(key.trim());
2120        
2121        boolDefault = false;
2122        
2123        
2124        if (value != boolDefault ) {
2125            cmd.append(DASH);
2126            cmd.append(key.trim());
2127            cmd.append(SPACE);
2128        }
2129        
2130        key = "p"+" "+"bb.lso"+" "+"disabled";
2131        value = settings.getBoolean(key.trim());
2132        
2133        boolDefault = false;
2134        
2135        
2136        if (value != boolDefault ) {
2137            cmd.append(DASH);
2138            cmd.append(key.trim());
2139            cmd.append(SPACE);
2140        }
2141        
2142        key = "p"+" "+"bb.lso"+" "+"debug";
2143        value = settings.getBoolean(key.trim());
2144        
2145        boolDefault = false;
2146        
2147        
2148        if (value != boolDefault ) {
2149            cmd.append(DASH);
2150            cmd.append(key.trim());
2151            cmd.append(SPACE);
2152        }
2153        
2154        key = "p"+" "+"bb.lso"+" "+"inter";
2155        value = settings.getBoolean(key.trim());
2156        
2157        boolDefault = false;
2158        
2159        
2160        if (value != boolDefault ) {
2161            cmd.append(DASH);
2162            cmd.append(key.trim());
2163            cmd.append(SPACE);
2164        }
2165        
2166        key = "p"+" "+"bb.lso"+" "+"sl";
2167        value = settings.getBoolean(key.trim());
2168        
2169        boolDefault = true;
2170        
2171        
2172        if (value != boolDefault ) {
2173            cmd.append(DASH);
2174            cmd.append(key.trim());
2175            cmd.append(SPACE);
2176        }
2177        
2178        key = "p"+" "+"bb.lso"+" "+"sl2";
2179        value = settings.getBoolean(key.trim());
2180        
2181        boolDefault = false;
2182        
2183        
2184        if (value != boolDefault ) {
2185            cmd.append(DASH);
2186            cmd.append(key.trim());
2187            cmd.append(SPACE);
2188        }
2189        
2190        key = "p"+" "+"bb.lso"+" "+"sll";
2191        value = settings.getBoolean(key.trim());
2192        
2193        boolDefault = true;
2194        
2195        
2196        if (value != boolDefault ) {
2197            cmd.append(DASH);
2198            cmd.append(key.trim());
2199            cmd.append(SPACE);
2200        }
2201        
2202        key = "p"+" "+"bb.lso"+" "+"sll2";
2203        value = settings.getBoolean(key.trim());
2204        
2205        boolDefault = false;
2206        
2207        
2208        if (value != boolDefault ) {
2209            cmd.append(DASH);
2210            cmd.append(key.trim());
2211            cmd.append(SPACE);
2212        }
2213        
2214        key = "p"+" "+"bb.pho"+" "+"disabled";
2215        value = settings.getBoolean(key.trim());
2216        
2217        boolDefault = false;
2218        
2219        
2220        if (value != boolDefault ) {
2221            cmd.append(DASH);
2222            cmd.append(key.trim());
2223            cmd.append(SPACE);
2224        }
2225        
2226        key = "p"+" "+"bb.ule"+" "+"disabled";
2227        value = settings.getBoolean(key.trim());
2228        
2229        boolDefault = false;
2230        
2231        
2232        if (value != boolDefault ) {
2233            cmd.append(DASH);
2234            cmd.append(key.trim());
2235            cmd.append(SPACE);
2236        }
2237        
2238        key = "p"+" "+"bb.lp"+" "+"disabled";
2239        value = settings.getBoolean(key.trim());
2240        
2241        boolDefault = false;
2242        
2243        
2244        if (value != boolDefault ) {
2245            cmd.append(DASH);
2246            cmd.append(key.trim());
2247            cmd.append(SPACE);
2248        }
2249        
2250        key = "p"+" "+"bb.lp"+" "+"unsplit-original-locals";
2251        value = settings.getBoolean(key.trim());
2252        
2253        boolDefault = false;
2254        
2255        
2256        if (value != boolDefault ) {
2257            cmd.append(DASH);
2258            cmd.append(key.trim());
2259            cmd.append(SPACE);
2260        }
2261        
2262        key = "p"+" "+"bop"+" "+"disabled";
2263        value = settings.getBoolean(key.trim());
2264        
2265        boolDefault = false;
2266        
2267        
2268        if (value != boolDefault ) {
2269            cmd.append(DASH);
2270            cmd.append(key.trim());
2271            cmd.append(SPACE);
2272        }
2273        
2274        key = "p"+" "+"tag"+" "+"disabled";
2275        value = settings.getBoolean(key.trim());
2276        
2277        boolDefault = false;
2278        
2279        
2280        if (value != boolDefault ) {
2281            cmd.append(DASH);
2282            cmd.append(key.trim());
2283            cmd.append(SPACE);
2284        }
2285        
2286        key = "p"+" "+"tag.ln"+" "+"disabled";
2287        value = settings.getBoolean(key.trim());
2288        
2289        boolDefault = true;
2290        
2291        
2292        if (value != boolDefault ) {
2293            cmd.append(DASH);
2294            cmd.append(key.trim());
2295            cmd.append(SPACE);
2296        }
2297        
2298        key = "p"+" "+"tag.an"+" "+"disabled";
2299        value = settings.getBoolean(key.trim());
2300        
2301        boolDefault = true;
2302        
2303        
2304        if (value != boolDefault ) {
2305            cmd.append(DASH);
2306            cmd.append(key.trim());
2307            cmd.append(SPACE);
2308        }
2309        
2310        key = "p"+" "+"tag.dep"+" "+"disabled";
2311        value = settings.getBoolean(key.trim());
2312        
2313        boolDefault = true;
2314        
2315        
2316        if (value != boolDefault ) {
2317            cmd.append(DASH);
2318            cmd.append(key.trim());
2319            cmd.append(SPACE);
2320        }
2321        
2322        key = "p"+" "+"tag.fieldrw"+" "+"disabled";
2323        value = settings.getBoolean(key.trim());
2324        
2325        boolDefault = true;
2326        
2327        
2328        if (value != boolDefault ) {
2329            cmd.append(DASH);
2330            cmd.append(key.trim());
2331            cmd.append(SPACE);
2332        }
2333        
2334        
2335        return cmd.toString();
2336    }
2337
2338}
2339
2340
Popular Tags