}
private void autoSetOptions() {
//when reflection log is enabled, also enable phantom refs
CGOptions cgOptions = new CGOptions( PhaseOptions.v().getPhaseOptions("cg") );
String log = cgOptions.reflection_log();
if(log!=null && log.length()>0) {
Options.v().set_allow_phantom_refs(true);
}
//if phantom refs enabled, ignore wrong staticness in type assigner