public boolean METHOD_1 ( TYPE_1 file , TYPE_2 type ) { if ( type instanceof TYPE_3 ) { return ( ( TYPE_3 ) ( type ) ) . METHOD_2 ( file ) ; } return ( METHOD_3 ( file . METHOD_4 ( ) ) ) == type ; }
public boolean METHOD_1 ( TYPE_1 file , TYPE_2 type ) { if ( type instanceof TYPE_3 ) { return ( ( TYPE_3 ) ( type ) ) . METHOD_2 ( file ) ; } return ( METHOD_3 ( file . getName ( ) ) ) == type ; }