code: public static String getClassConstantFieldName(Class<?> klass) // d676434
      {
          String dollarName = klass.getName().replace('.', '$');
  
          if (dollarName.startsWith("["))
          {
              if (dollarName.endsWith(";"))
              {
                  // Remove trailing ";" from "[Ljava$lang$String;".
                  dollarName = dollarName.substring(0, dollarName.length() - 1);
              }
  
              return "array" + dollarName.replace('[', '$');
          }
  
          return "class$" + dollarName;
      }
docs: Returns the synthetic field name for a Class constant.
  
  @param klass the class constant
  @return the synthetic field name