static void checkDesc ( final String desc , final boolean canBeVoid ) { int end = checkDesc ( desc , 0 , canBeVoid ) ; if ( end != desc . length ( ) ) { throw new IllegalArgumentException ( "Invalid descriptor: " + desc ) ; } }
Checks that the given string is a valid type descriptor .