String className = declaringClass.toString();
String className = getDeclaringClass().toString();
  private String getMangledName(boolean sig) {    String mangledClassName, mangledMethodName;    String className = declaringClass.toString();    String methodName = getName().toString();    int first, next;    // Mangled Class name    // Special case: underscore in class name    mangledClassName = replaceCharWithString(className, '_', "_1");    // Mangled Method name    // Special case: underscore in method name    //   class._underscore  -> class__1underscore    //   class.with_underscore  -> class_with_1underscore    mangledMethodName = replaceCharWithString(methodName, '_', "_1");    if (sig) {      String sigName = getDescriptor().toString();      sigName = sigName.substring( sigName.indexOf('(')+1, sigName.indexOf(')') );      sigName = replaceCharWithString(sigName, '[', "_3");      sigName = replaceCharWithString(sigName, ';', "_2");      sigName = sigName.replace( '/', '_');      mangledMethodName += "__" + sigName;    }    String mangledName = "Java_" + mangledClassName + "_" + mangledMethodName;    mangledName = mangledName.replace( '.', '_' );    // VM.sysWrite("getMangledName:  " + mangledName + " \n");    return mangledName;  }