1 2 20 21 22 23 package soot.options; 24 import java.util.*; 25 26 27 public class ABCOptions 28 { 29 private Map options; 30 31 public ABCOptions( Map options ) { 32 this.options = options; 33 } 34 35 41 public boolean enabled() { 42 return soot.PhaseOptions.getBoolean( options, "enabled" ); 43 } 44 45 53 public boolean with_all() { 54 return soot.PhaseOptions.getBoolean( options, "with-all" ); 55 } 56 57 68 public boolean with_cse() { 69 return soot.PhaseOptions.getBoolean( options, "with-cse" ); 70 } 71 72 84 public boolean with_arrayref() { 85 return soot.PhaseOptions.getBoolean( options, "with-arrayref" ); 86 } 87 88 100 public boolean with_fieldref() { 101 return soot.PhaseOptions.getBoolean( options, "with-fieldref" ); 102 } 103 104 114 public boolean with_classfield() { 115 return soot.PhaseOptions.getBoolean( options, "with-classfield" ); 116 } 117 118 128 public boolean with_rectarray() { 129 return soot.PhaseOptions.getBoolean( options, "with-rectarray" ); 130 } 131 132 141 public boolean profiling() { 142 return soot.PhaseOptions.getBoolean( options, "profiling" ); 143 } 144 145 152 public boolean add_color_tags() { 153 return soot.PhaseOptions.getBoolean( options, "add-color-tags" ); 154 } 155 156 } 157 | Popular Tags |