private static String utf8Name ( final String name ) { final Matcher matcher = pattern . matcher ( name ) ; if ( ! matcher . matches ( ) ) return name ; if ( matcher . group ( 2 ) . isEmpty ( ) ) return matcher . group ( 1 ) ; return matcher . group ( 1 ) + getSubscript ( matcher . group ( 2 ) ) ; }
Returns the UTF8 string for a variable name