private static String descriptorToClassName(String s){
  if (s.startsWith("[") || !s.startsWith("L"))   return s;
  return s.substring(1,s.length() - 1);
}

private static String descriptorToClassName ( String s ) { if ( s . startsWith ( "[" ) || ! s . startsWith ( "L" ) ) return s ; return s . substring ( 1 , s . length ( ) - 1 ) ; }
if a non - array object type , remove the prefix " l " and suffix " ; " .
