private SootField resolveStringMember(Integer intId){
  String idName=makeIdName("String",intId);
  String className=makeClassName("java.lang.String");
  if (mNumberToIDMap == null) {
    logger.warn("mNumberToIDMap not set");
    return null;
  }
  if (!mNumberToIDMap.containsKey(intId)) {
    logger.warn("ID {} is not in the resource info ",String.format("%x",intId));
    return null;
  }
  SootField sf=null;
  try {
    sf=mSootClass.getFieldByName(idName);
  }
 catch (  Exception ex) {
    RefType classType=RefType.v(className);
    sf=new SootField(idName,classType,Modifier.PUBLIC | Modifier.STATIC);
    mSootClass.addField(sf);
    logger.info("added field: {}",sf);
  }
  logger.info("Field name {} resolved",idName);
  return sf;
}

private SootField resolveStringMember ( Integer intId ) { String idName = makeIdName ( "String" , intId ) ; String className = makeClassName ( "java.lang.String" ) ; if ( mNumberToIDMap == null ) { logger . warn ( "mNumberToIDMap not set" ) ; return null ; } if ( ! mNumberToIDMap . containsKey ( intId ) ) { logger . warn ( "ID {} is not in the resource info " , String . format ( "%x" , intId ) ) ; return null ; } SootField sf = null ; try { sf = mSootClass . getFieldByName ( idName ) ; } catch ( Exception ex ) { RefType classType = RefType . v ( className ) ; sf = new SootField ( idName , classType , Modifier . PUBLIC | Modifier . STATIC ) ; mSootClass . addField ( sf ) ; logger . info ( "added field: {}" , sf ) ; } logger . info ( "Field name {} resolved" , idName ) ; return sf ; }
create field public static string string_xyz ;
