String transformName(String className){
  String newName=mRenameClasses.get(className);
  if (newName != null) {
    return newName;
  }
  int pos=className.indexOf('$');
  if (pos > 0) {
    String base=className.substring(0,pos);
    newName=mRenameClasses.get(base);
    if (newName != null) {
      return newName + className.substring(pos);
    }
  }
  return className;
}

String transformName ( String className ) { String newName = mRenameClasses . get ( className ) ; if ( newName != null ) { return newName ; } int pos = className . indexOf ( '$' ) ; if ( pos > 0 ) { String base = className . substring ( 0 , pos ) ; newName = mRenameClasses . get ( base ) ; if ( newName != null ) { return newName + className . substring ( pos ) ; } } return className ; }
should this class be renamed , this returns the new name . otherwise it returns the original name .
