1 /*
2  * Copyright (C) 2007 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.dx.command.dump;
18 
19 /**
20  * contains command line parsedArgs values
21  */
22 class Args {
23     /** whether to run in debug mode */
24     boolean debug = false;
25 
26     /** whether to dump raw bytes where salient */
27     boolean rawBytes = false;
28 
29     /** whether to dump information about basic blocks */
30     boolean basicBlocks = false;
31 
32     /** whether to dump regiserized blocks */
33     boolean ropBlocks = false;
34 
35     /** whether to dump SSA-form blocks */
36     boolean ssaBlocks = false;
37 
38     /** Step in SSA processing to stop at, or null for all */
39     String ssaStep = null;
40 
41     /** whether to run SSA optimizations */
42     boolean optimize = false;
43 
44     /** whether to be strict about parsing classfiles*/
45     boolean strictParse = false;
46 
47     /** max width for columnar output */
48     int width = 0;
49 
50     /** whether to dump flow-graph in "dot" format */
51     boolean dotDump = false;
52 
53     /** if non-null, an explicit method to dump */
54     String method;
55 
56 }
57