public static String fixDescReverse(String description,Map<String,MappedClass> oldNamestoClasses,Map<String,MappedClass> newNamesToClasses){
  if (description == null || description.length() == 0 || isPrimitive(description)) {
    return description;
  }
  if (description.contains("L") && description.contains(";")) {
    if (description.startsWith("(") || (description.startsWith("L") || description.startsWith("[")) && description.endsWith(";")) {
      List<String> findClasses=RegexUtils.matchDescriptionClasses(description);
      for (      String found : findClasses) {
        MappedClass mc=newNamesToClasses.get(found);
        if (mc != null) {
          description=description.replace(found,mc.getOriginalName());
        }
      }
      return description;
    }
  }
 else {
    MappedClass mc=oldNamestoClasses.get(description);
    if (mc == null) {
      return description;
    }
    return mc.getNewName();
  }
  return description;
}

public static String fixDescReverse ( String description , Map < String , MappedClass > oldNamestoClasses , Map < String , MappedClass > newNamesToClasses ) { if ( description == null || description . length ( ) == 0 || isPrimitive ( description ) ) { return description ; } if ( description . contains ( "L" ) && description . contains ( ";" ) ) { if ( description . startsWith ( "(" ) || ( description . startsWith ( "L" ) || description . startsWith ( "[" ) ) && description . endsWith ( ";" ) ) { List < String > findClasses = RegexUtils . matchDescriptionClasses ( description ) ; for ( String found : findClasses ) { MappedClass mc = newNamesToClasses . get ( found ) ; if ( mc != null ) { description = description . replace ( found , mc . getOriginalName ( ) ) ; } } return description ; } } else { MappedClass mc = oldNamestoClasses . get ( description ) ; if ( mc == null ) { return description ; } return mc . getNewName ( ) ; } return description ; }
unfixes descriptions . ( lknown / class / name ; - - > lobfu ; )
