public static String toInternalForm(String d){
  if (d.charAt(0) != 'L') {
    throw new JaninoRuntimeException("Attempt to convert non-class descriptor \"" + d + "\" into internal form");
  }
  return d.substring(1,d.length() - 1);
}

public static String toInternalForm ( String d ) { if ( d . charAt ( 0 ) != 'L' ) { throw new JaninoRuntimeException ( "Attempt to convert non-class descriptor \"" + d + "\" into internal form" ) ; } return d . substring ( 1 , d . length ( ) - 1 ) ; }
converts a descriptor into the " internal form " as defined by jvms 4 . 2 .
