KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > soot > options > PurityOptions


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

20
21 /* THIS FILE IS AUTO-GENERATED FROM soot_options.xml. DO NOT MODIFY. */
22
23 package soot.options;
24 import java.util.*;
25
26 /** Option parser for Purity Analysis [AM]. */
27 public class PurityOptions
28 {
29     private Map options;
30
31     public PurityOptions( Map options ) {
32         this.options = options;
33     }
34     
35     /** Enabled --
36     
37      * .
38     
39      *
40      */

41     public boolean enabled() {
42         return soot.PhaseOptions.getBoolean( options, "enabled" );
43     }
44     
45     /** Dump one .dot files for each method summary --
46     
47      * .
48     
49      *
50      */

51     public boolean dump_summaries() {
52         return soot.PhaseOptions.getBoolean( options, "dump-summaries" );
53     }
54     
55     /** Dump .dot call-graph annotated with method summaries (huge) --
56     
57      * .
58     
59      *
60      */

61     public boolean dump_cg() {
62         return soot.PhaseOptions.getBoolean( options, "dump-cg" );
63     }
64     
65     /** Dump one .dot for each intra-procedural method analysis (long) --
66     
67      * .
68     
69      *
70      */

71     public boolean dump_intra() {
72         return soot.PhaseOptions.getBoolean( options, "dump-intra" );
73     }
74     
75     /** Print analysis results --
76     
77      * .
78     
79      *
80      */

81     public boolean print() {
82         return soot.PhaseOptions.getBoolean( options, "print" );
83     }
84     
85     /** Be (quite) verbose --
86     
87      * .
88     
89      *
90      */

91     public boolean verbose() {
92         return soot.PhaseOptions.getBoolean( options, "verbose" );
93     }
94     
95 }
96         
Popular Tags