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 ; }
Returns the synthetic field name for a Class constant .