public ClassFile getClassFile ( String name ) throws IOException { if ( name . indexOf ( ' ' ) > 0 ) { int i = name . lastIndexOf ( ' ' ) ; String pathname = name . replace ( ' ' , File . separatorChar ) + ".class" ; if ( baseFileName . equals ( pathname ) || baseFileName . equals ( pathname . substring ( 0 , i ) + "$" + pathname . substring ( i + 1 , pathname . length ( ) ) ) ) { return readClassFile ( path ) ; } } else { if ( baseFileName . equals ( name . replace ( ' ' , File . separatorChar ) + ".class" ) ) { return readClassFile ( path ) ; } } return null ; }
Returns the ClassFile matching the given binary name or a fully - qualified class name .